Opened 18 years ago
Closed 13 years ago
#1914 closed Bug (wontfix)
Inline CSS caching is not compatible with AIR
| Reported by: | Frederico Caldeira Knabben | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | SVN (FCKeditor) - Retired |
| Keywords: | AIR | Cc: |
Description
When using inline CSS caching for the editing area stuff (fck_editingare.css, fck_internal.css and fck_showtableborders.css), it seems that they are ignored when running inside AIR.
Debbuging it, I was able to confirm that the <style> elements are being properly set in <head> inside FCKAdobeAIR.EditingArea_Start by adding the following call at the end of the function:
alert( doc.documentElement.innerHTML ) ;
But the <style> elements have no effect.
Change History (4)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
| Milestone: | FCKeditor 2.6 → FCKeditor 2.6.1 |
|---|
comment:3 Changed 17 years ago by
| Milestone: | FCKeditor 2.6.2 |
|---|
This is not a critical issue. We can definitely leave with this incompatibility as AIR applications don't have that much benefits by using the cached CSS feature.
comment:4 Changed 13 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | confirmed → closed |
FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible.

To test it, just paste the following at the very end of fckconfig.js:
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + "css/" + "|body{background-color:#f00;padding:5px;margin:0}body,td{font-family:Arial, Verdana, sans-serif;font-size:12px}a[href]{color:-moz-hyperlinktext !important;text-decoration:-moz-anchor-decoration}.Bold{font-weight:700}.Title{font-weight:700;font-size:18px;color:#c30}.Code{border:#8b4513 1px solid;padding-right:5px;padding-left:5px;color:#006;font-family:\'Courier New\' , Monospace;background-color:#f93}" ;The background color of the editing area must be red. Running in Safari it is ok.