Closed (works as designed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
5.x-2.0-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2008 at 01:37 UTC
Updated:
23 Jan 2008 at 12:57 UTC
Comments
Comment #1
mwpeters commentedAdditional data ....
This is quite understandably only happening when the FCKeditor profile in use, is configured to use CSS from the current theme.
Comment #2
jadwigo commentedThe 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.
Comment #3
wkamm commentedI 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.
Comment #4
jadwigo commented"FCKeditor default" is white background with black text like in the demos on www.fckeditor.net
check #204242 for more info about possible fixes