Opened 16 years ago

Closed 16 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:


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)

patch-panel-background.txt (1.5 KB) - added by Ron 16 years ago.

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by Ron

Attachment: patch-panel-background.txt added


comment:1 Changed 16 years ago by Frederico Caldeira Knabben

Component: UI : Floating PanelUI : Toolbar
Keywords: CSS panel background removed
Milestone: FCKeditor 2.6
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy