#2149: Stylesheets with custom css urls are not attached to the editorarea
-------------------+--------------------------------------------------------
 Reporter:  jonhg  |        Type:  Bug    
   Status:  new    |    Priority:  Normal 
Milestone:         |   Component:  General
  Version:         |    Keywords:         
-------------------+--------------------------------------------------------
 We need to generate the css rules for each user which are using the
 fckeditor. To achieve this our css files are parsed as php files. To get
 correct css rules we send in the id as a GET parameter to the css files.

 In this way we get urls like: /styles.css?id=15

 This does not work with the new css cache feature in fckeditor. The
 problem is the regex used at least two places in fcktools.js
 (FCKTools.AppendStyleSheet and FCKTools.GetStyleHTML) which look like
 "/[\\\/\.]\w*$/"

 I have temporary changed the regex to /[\\\/\.].*$/ in our solution, but
 you guys will surely come up with a better solution.

 And why your at it, why don't you move this regex rule to your
 fckregexlib? At least it will be easier to customize.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2149>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to