EditorAreaCSS"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: == EditorAreaCSS == You can precisely simulate the output of your site inside FCKeditor, including background colors, font styles and sizes and custom CSS definitions. To do that, just po...)
 
 
Line 1: Line 1:
== EditorAreaCSS ==
+
You can precisely simulate the output of your site inside FCKeditor, including background colors, font styles and sizes and custom CSS definitions. To do that, just point this setting to the CSS file that you want the editor to use. You may use a simple string, setting the CSS file path, or even a string array, with more than one CSS file to be loaded. Example:  
 
 
You can precisely simulate the output of your site inside FCKeditor, including background colors, font styles and sizes and custom CSS definitions. To do that, just point this setting to the CSS file that you want the editor to use. You may use a simple string, setting the CSS file path, or even a string array, with more than one CSS file to be loaded. Example:
 
 
<pre>FCKConfig.EditorAreaCSS = '/mycssstyles/editorstyle.css'&nbsp;;
 
<pre>FCKConfig.EditorAreaCSS = '/mycssstyles/editorstyle.css'&nbsp;;
 
</pre>  
 
</pre>  
 
By default, FCKeditor uses a very simple file located at "editor/css/fck_editorarea.css". You can place your file outside the FCKeditor directory and just point to that.
 
By default, FCKeditor uses a very simple file located at "editor/css/fck_editorarea.css". You can place your file outside the FCKeditor directory and just point to that.

Latest revision as of 11:57, 20 May 2008

You can precisely simulate the output of your site inside FCKeditor, including background colors, font styles and sizes and custom CSS definitions. To do that, just point this setting to the CSS file that you want the editor to use. You may use a simple string, setting the CSS file path, or even a string array, with more than one CSS file to be loaded. Example:

FCKConfig.EditorAreaCSS = '/mycssstyles/editorstyle.css' ;

By default, FCKeditor uses a very simple file located at "editor/css/fck_editorarea.css". You can place your file outside the FCKeditor directory and just point to that.

This page was last edited on 20 May 2008, at 11:57.