You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem? I have created a simple demo which shows the problem - see attached file. The problem occurs when you use rangy804.js but not rangy.js.
Load the rangydemo/index.htm file from the attached package
Select any text on the page
Inspect the content of the window alert.
The code is simply running getSelection().getRangeAt(0).toString(); What is the expected output? What do you see instead? You should see the text you select echoed back to you in a browser window alert. This happens correctly with most browsers. However, when running in IE8 a JS object is shown in the window alert. You do need a proper install of IE8 for this - running higher versions of IE in IE8 mode does not demonstrate the error. What version of the product are you using? On what operating system? The rangy804.js file contains the latest stable release rangy 1.3.804 from your downloads page. The rangy.js file is the slightly older 1.3.772 release.
These files include both the rangy-core.js content and the TextRange module.
From graje...@gmail.com on February 26, 2014 14:07:03
What steps will reproduce the problem? I have created a simple demo which shows the problem - see attached file. The problem occurs when you use rangy804.js but not rangy.js.
The code is simply running getSelection().getRangeAt(0).toString(); What is the expected output? What do you see instead? You should see the text you select echoed back to you in a browser window alert. This happens correctly with most browsers. However, when running in IE8 a JS object is shown in the window alert. You do need a proper install of IE8 for this - running higher versions of IE in IE8 mode does not demonstrate the error. What version of the product are you using? On what operating system? The rangy804.js file contains the latest stable release rangy 1.3.804 from your downloads page. The rangy.js file is the slightly older 1.3.772 release.
These files include both the rangy-core.js content and the TextRange module.
My testing has been on XP.
Attachment: rangydemo.zip
Original issue: http://code.google.com/p/rangy/issues/detail?id=199
The text was updated successfully, but these errors were encountered: