After upgrading the FCKeditor to version 2.5.1 .....
The "edit window" background color/pattern is being picked up from the themes header.

It happens with the core themes like Garland, Chameleon, and Marvin as well as the few contributed themes I've tried out.

BTW: This is not happening with the version 5.x-2.0-beta which I simultaneously updated to the new FCKeditor (5.2.1).

Comments

mwpeters’s picture

Additional data ....
This is quite understandably only happening when the FCKeditor profile in use, is configured to use CSS from the current theme.

jadwigo’s picture

Status: Active » Closed (works as designed)

The CSS of the theme works differently on the body of a page than on the content of a node because of the extra markup for nodes and other elements in the normal situation where it displays a node in the site... this extra markup is not available in fckeditor, which renders everything as if it's directly in the body of the page.

Why this works this way is an architectural problem that's not solvable by a simple change in the module but needs complicated extra logic in the forms api (to make different types of textrareas depending on the context)

A solution might be a custom bit of CSS that will target the code in an FCKeditor window to make it look like it a normal node. (but that will not work for footers, headers an probably blocks) Unless the creator of the theme has provided this code you must create that CSS yourself. The fckeditor module has that option - just choose custom CSS instead of the theme CSS.

wkamm’s picture

Version: 6.x-1.x-dev » 5.x-2.0-beta

I have the same problem with 5.x-2.0-beta (I'd like to use a stable 5.x version, but do not see one available for download). In the profile, under CSS settings, I selected "FCKeditor default". However, I am seeing my theme's background. It's a dark background, making the text virtually impossible to read. I can understand seeing this if I chose "use theme css", but not if I chose to bypass the theme's CSS and use FCKeditor's default CSS. I had some trouble understanding the previous postings, which seemed to imply that what I am seeing is as designed. Please clear this up. Thanks.

jadwigo’s picture

"FCKeditor default" is white background with black text like in the demos on www.fckeditor.net

check #204242 for more info about possible fixes