Stylesheets with custom css urls are not attached to the editorarea
|Reported by:||jonhg||Owned by:||fredck|
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 "/[
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.
Change History (7)
comment:2 Changed 8 years ago by fredck
- Keywords Confirmed HasPatch added
- Milestone set to FCKeditor 2.6.1
- Version set to FCKeditor 2.6
Changed 8 years ago by fredck
comment:4 Changed 8 years ago by fredck
- Keywords Review? added; HasPatch removed
- Owner set to fredck
- Status changed from new to assigned