Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Bug? New Chrome Update
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug? New Chrome Update

 Post Reply Post Reply
Author
djeptester View Drop Down
Newbie
Newbie


Joined: 27 January 2017
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote djeptester Quote  Post ReplyReply Direct Link To This Post Topic: Bug? New Chrome Update
    Posted: 27 January 2017 at 5:57pm
Chrome just released an update that appears to be broken or not work with WWF Rich Text Editor. I can reproduce the issue both on my own forum and on this, the official WWF support forum.

It appears that Chrome is adding an upside down L to the text area of the rich text message box. The issue is also occurring on the new version of Firefox (PC for sure, not sure on Mac). Internet Explorer injects a blank space.

Here is a screenshot of what is happening:

https://postimg.org/image/f3ud7d98d/ - https://postimg.org/image/f3ud7d98d/

Steps to reproduce:

1) Log on to WWF using latest version of Chrome (Version 56.0.2924.76)
2) Create a new topic
3) upside down L is added to Message box

Personally, our staff freaked out a little about this. We were initially concerned that our site was hacked. However, as the issue appears to be present on this forum as well...it appears to be a browser bug or incompatibility with WWF.

Besides waiting for a Chrome update (likely 3 weeks away), is there an immediate fix in the source code?


Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2017 at 10:18am
The issue that causes this has been found.

From Firefox 17 the cursor did not display in the text area when typing in the Rich Text Editor. To fix this so the cursor displayed a ASCII Start of Text (Chr 2) was injected in to the Rich Text Editor.

This fix has worked for many years but is now causing strange effects in Chrome.

The issue is being looked in to and it looks at present that injecting a ASCII Delete (Chr 127) should fix the issue, but more tests will need to be done to ensure that it will work as a fix.

To try the fix yourself edit line 251 of RTE_textarea.asp and change it to the line below;


Response.Write(Chr(127))


Back to Top
djeptester View Drop Down
Newbie
Newbie


Joined: 27 January 2017
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote djeptester Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2017 at 4:45pm
I am using an old version of WWF, I found the following in root/RTE_textarea.asp:

'Firefox 17 fix, add space to allow carrot to display
If RTEenabled = "Gecko" AND strMessage = "" Then 
Response.Write(Chr(2))
'Else display message
Else
Response.Write(strMessage)
End If

I commented out the following line:

Response.Write(Chr(2))

The upside down L no longer appears in the textarea in Chrome/Firefox and the cursor appears to work as expected.

At appears you have not rolled out a fix to this forum yet as I am still experiencing the issue when I went to compose this response.

Thanks for the response on this. My issue is now resolved.

Cheers!
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2017 at 1:23pm
With Firefox you will notice that there is no cursor when you click on the RTE area. The cursor only appears once you start typing.

This causes some people to think that they cannot type in the RTE area when they click on it.

The fix places a hidden characters in to the RTE Area so when you click on it in Firefox the cursor appears so you know you can begin typing.


Edited by WebWiz-Bruce - 01 February 2017 at 8:40am
Back to Top
djeptester View Drop Down
Newbie
Newbie


Joined: 27 January 2017
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote djeptester Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2017 at 5:29pm
Thanks for the clarification. I will make the change.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.