Ticket #1914 (closed Bug: wontfix)

Opened 6 years ago

Last modified 19 months ago

Inline CSS caching is not compatible with AIR

Reported by: fredck 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

comment:1 Changed 6 years ago by fredck

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.

comment:2 Changed 6 years ago by fredck

  • Milestone changed from FCKeditor 2.6 to FCKeditor 2.6.1

comment:3 Changed 6 years ago by fredck

  • Milestone FCKeditor 2.6.2 deleted

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 19 months ago by j.swiderski

  • Status changed from confirmed to closed
  • Resolution set to wontfix

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy