#2857: EditorAreaCSS IE8
------------------------------------+---------------------------------------
 Reporter:  exanice                 |       Owner:                 
     Type:  Bug                     |      Status:  new            
 Priority:  Normal                  |   Milestone:                 
Component:  Core : Styles           |     Version:  FCKeditor 2.6.4
 Keywords:  IE8 Pending WorksForMe  |  
------------------------------------+---------------------------------------

Comment(by exanice):

 i already found a solution last week!

 i made a mistake on the definition in fckconfig.js file:[[BR]]
 FCKConfig.EditorAreaCSS = "/content.css,
 /App_Themes/Blue/css/content.css";[[BR]]
 Should be like this:[[BR]] FCKConfig.EditorAreaCSS = new Array
 ("/content.css", "/App_Themes/Blue/css/content.css");

 But then occured another problem, i use the .net fck editor implementation
 to set EditorAreaCSS, and there is the only option to set a string for the
 EditorAreaCSS (should be an array). it passes the string to a hidden
 field, and then it gets read from the fckeditor. the fckeditor expects an
 array when given multiple paths to css files, in IE8 this produces the
 error which i descriped above.

 i fixed it by inserting the follwing line of code to the
 FCKConfig_PreProcess() Function: [[BR]]
 if (A.EditorAreaCSS.indexOf(",")>-1)
 A.EditorAreaCSS=A.EditorAreaCSS.split(',');

 if more than one value is passed, it gets seperated to an array, and
 everything works fine ^^

 i would be pleaset if you can add this fix to the original source code!

 greetx

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2857#comment:3>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to