(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: | ||
− | + | 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' ; | <pre>FCKConfig.EditorAreaCSS = '/mycssstyles/editorstyle.css' ; | ||
</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.