karthick2014 / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
0 stars 0 forks source link

Editor doesn't work in IE6 #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. tested on 2 computers

What is the expected output? What do you see instead?
errors

What version of the product are you using? On what operating system?
0.2 on homepage and on my sites

Original issue reported on code.google.com by StarkTal...@gmail.com on 19 Mar 2008 at 1:53

GoogleCodeExporter commented 8 years ago
May be your problem is about the security settings like Issue 2 [0]. If you 
have turn
off the ActiveX it won't work.

[0] http://code.google.com/p/jwysiwyg/issues/detail?id=2

Original comment by joksnet on 24 Mar 2008 at 4:48

GoogleCodeExporter commented 8 years ago
Has anyone discovered a way to make this work in IE6?  I am getting a 
'permission denied' when the script tries 
to access $(this.editorDoc) e.g. line 407 in v0.3.

Original comment by airbed...@gmail.com on 9 Jun 2008 at 2:43

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Here's what I did following the tip on the ExtJS forum.
I added the following 3 lines just above the line (373 in the v0.3) where 
'this.editorDoc' object is defined.

>>>

if (jQuery.browser.msie && '6.0' == jQuery.browser.version) {
    $(this.editor).document().designMode = 'on';
}

this.editorDoc = $(this.editor).document();

<<<

Now it works fine in IE6 too!!

Original comment by cont...@jakubpawlowicz.com on 18 Jun 2008 at 12:08

GoogleCodeExporter commented 8 years ago
Made my day!

Original comment by glum...@gmail.com on 18 Jun 2008 at 12:12

GoogleCodeExporter commented 8 years ago
What about putting the designMode = 'on' before open the document ? I've change 
that
in r23.

Original comment by joksnet on 18 Jun 2008 at 12:24

GoogleCodeExporter commented 8 years ago
Works fine as well! Thanks for updating the source.

Original comment by cont...@jakubpawlowicz.com on 18 Jun 2008 at 12:36

GoogleCodeExporter commented 8 years ago
Ok. Thanks for the solution.

Original comment by joksnet on 18 Jun 2008 at 12:39