wsmall wrote
If you read back through the post you will see that it's a "feature" that the editor uses the background color of the page. If you have a dark page as I do.... I can't even make out the text in the editor because it's black text on a brown background.
BTW Someone suggested using #Body and this did work for me. The class wasn't background it is background-color and that seems to work.
Replace
Body{}
with
#Body{
background-color:#301907;
}
That should also change the body background color if any is viewable. Since the body tag had the id Body any settings there will change it for the entire page. However if you override the "body" (notice lower case) class, you can specify a color that will be overriden by the #Body settings for the page as long as there are #Body settings. So, if you set the color of the editor in "body" and specify the actual background color of the page in "#Body", it should look normal.
Another way (at least per portal) is to modify the Provider.Ftb3HtmlEditorProvider project. Modify the Ftb3HtmlEditorProvider.vb and modify the DesignModeCss section where they build this setting. Simply add a line under line: 573 where it currently says:
DesignModeCss += "\' type=\'text/css\' /><link rel=\'stylesheet\' href=\'" + PortalSettings.HomeDirectory & "portal.css"
to read:
DesignModeCss += "\' type=\'text/css\' /><link rel=\'stylesheet\' href=\'" + PortalSettings.HomeDirectory & "portal.css"
DesignModeCss += "\' type=\'text/css\' /><link rel=\'stylesheet\' href=\'" + PortalSettings.HomeDirectory & "ftb.css"
Recompile that module and from that point on, if you need a different background color for your portal in design mode, simply add a file called "ftb.css" containing:
body
{
background-color:#ffffff;
}
That will set the color of just the editor control and not hinder anything else.