The forum operates in read-only mode. Please head to StackOverflow for support.
Wiktor Walc CTO, CKSource - http://cksource.com -- Follow CKEditor on: Twitter | Facebook | Google+
wiktor wrote:In fckconfig.js set FCKConfig.ToolbarComboPreviewCSS to the right style sheet (with black background).
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; FCKConfig.ToolbarComboPreviewCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
body { background-color: #000000; padding: 5px 5px 5px 5px; margin: 0px; background: #000000; font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #ffffff; }
FCKConfig.ToolbarComboPreviewCSS = '' ;
FCKConfig.ToolbarComboPreviewCSS = FCKConfig.BasePath + 'css/fck_combo.css' ;
body { background-color: red; padding: 5px 5px 5px 5px; margin: 0px; } body, td { font-family: Arial, Verdana, sans-serif; font-size: 12px; }
Re: Changing FontFormats and the way they appear in the editor
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Changing FontFormats and the way they appear in the editor
body { background-color: #000000; padding: 5px 5px 5px 5px; margin: 0px; background: #000000; font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #ffffff; }Re: Changing FontFormats and the way they appear in the editor
Re: Changing FontFormats and the way they appear in the editor
I did the folllowing for FCKeditor 2.5:
In fckconfig.js I have changed :
into:
in editor/css/ I have added new file named fck_combo.css with the following content:
body { background-color: red; padding: 5px 5px 5px 5px; margin: 0px; } body, td { font-family: Arial, Verdana, sans-serif; font-size: 12px; }and it works as expected - background of FontFormat combo is red.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Changing FontFormats and the way they appear in the editor