gobimca2012 / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
GNU General Public License v2.0
0 stars 0 forks source link

Attach a CSS file crash on IE #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. $('#wysiwyg').wysiwyg({ css : 'file.css' });
2. Open in IE6
3.

What is the expected output? What do you see instead?
It seems to crash IE. Something about line 362 of the r10 file.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by joksnet on 22 Feb 2008 at 2:12

GoogleCodeExporter commented 9 years ago
Yep. I've noticed the same issue. The problem is when jQuery tries to append the
<link> tag to the <head>. For some reason IE6/7 wigout when this happens. The 
only
way i could fix it was to modify "initFrame" to include a "/STYLE_SHEET/" 
replace
when it does the "/INITIAL_CONTENT/" replace. Not elegant... but IE forced my 
hand.

Original comment by afi...@gmail.com on 13 Mar 2008 at 1:47

GoogleCodeExporter commented 9 years ago
Fixed on r19 with afinno's solution.

Original comment by joksnet on 31 Mar 2008 at 9:13