Electromau5 / rte-light

Automatically exported from code.google.com/p/rte-light
0 stars 0 forks source link

designMode doesn't get refreshed #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load rte-light
2. click the cross to disable design mode
3. get $("iframe")[0].contentWindow.document.designMode

What is the expected output? What do you see instead?
expected output should be 'off' or null
instead we get 'on'

What version of the product are you using? On what operating system?
svn version r5

Please provide any additional information below.
fix : add line 115 

            iframe.contentWindow.document.designMode = "off";

Original issue reported on code.google.com by thomas.d...@gmail.com on 1 Apr 2009 at 10:51

GoogleCodeExporter commented 9 years ago
and line 52 
            iframe.contentWindow.document.designMode = "on";

Original comment by thomas.d...@gmail.com on 1 Apr 2009 at 10:59