Opened 18 years ago
Closed 18 years ago
#1799 closed Bug (invalid)
external CSS on body changes background of panels
| Reported by: | Ron | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | UI : Toolbar | Version: | SVN (FCKeditor) - Retired |
| Keywords: | Cc: |
Description
A CSS-file such as: BODY { background: #f00; }
being used with EditorAreaCSS, would force that background on the panels in the toolbar of every skin (Default, Office 2003, Silver). Solved this problem by adding "background: #fff" to the SC_Panel CSS-class in all 3 skins which all have white panels when no external CSS is changing colors.
Attachments (1)
Change History (2)
Changed 18 years ago by
| Attachment: | patch-panel-background.txt added |
|---|
comment:1 Changed 18 years ago by
| Component: | UI : Floating Panel → UI : Toolbar |
|---|---|
| Keywords: | CSS panel background removed |
| Milestone: | FCKeditor 2.6 |
| Resolution: | → invalid |
| Status: | new → closed |
The combos actually inherit the background color to give a true WYSIWYG preview to the user. This is a requirement for some specific cases, like #1304.
You can instead use the FCKConfig.ToolbarComboPreviewCSS setting to point the editor to load a specific CSS file in the combos, making it possible to precisely satisfy your needs.

Patch