I'm using FCKeditor with Drupal (a CMS) via its third-party fckeditor.module. I've found that if I have HTML content stored in Drupal that contains an inline CSS stylesheet (that is, enclosed within "style" tags), when I attempt to use Drupal's edit function, FCKeditor is stripping out the stylesheet.
The content will not look correct in FCKeditor's WYSIWYG mode, and when I click the "source" button, I can see that the style tags and their contents are gone. However, if I view the source of this edit page, I can see that the textarea on the page actually does contain the stylesheet! For some reason, when the FCKeditor Javascript starts up to enhance the edit textarea, it is stripping out the stylesheet.
How can I prevent FCKeditor from stripping inline CSS stylesheets?
The content will not look correct in FCKeditor's WYSIWYG mode, and when I click the "source" button, I can see that the style tags and their contents are gone. However, if I view the source of this edit page, I can see that the textarea on the page actually does contain the stylesheet! For some reason, when the FCKeditor Javascript starts up to enhance the edit textarea, it is stripping out the stylesheet.
How can I prevent FCKeditor from stripping inline CSS stylesheets?
RE: css stylesheets removed?
Also when upgrading to v2.4.2, Drupal was referring to the "UniversalKey" toolbar item in FCKeditor. It took quite a bit of searching in the FCKeditor wiki to find out that UniversalKey is no longer available. I found the solution, remove the reference to UniversalKey, but it is frustrating to waste so much time. Seems like there should be an item in the wiki about it.
Well, I guess it is a wiki after all...
Re: css stylesheets removed?
Well I'm using Fckeditor 2.5.1 and I still has the problem. I didn't undertsand your solution, can you explain how to keep the inline css please?
Re: css stylesheets removed?