EditorAreaStyles"

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: == EditorAreaStyles == You can precisely simulate the output of your site inside FCKeditor, including background colors, font styles and sizes. The '''EditorAreaStyles''' option is simila...)
 
 
Line 1: Line 1:
== EditorAreaStyles ==
+
You can precisely simulate the output of your site inside FCKeditor, including background colors, font styles and sizes. The '''EditorAreaStyles''' option is similar to [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/EditorAreaCSS|EditorAreaCSS]]. The difference is that you define your custom style inside the configuration file or inline in the page when creating the editor instance.
  
You can precisely simulate the output of your site inside FCKeditor, including background colors, font styles and sizes. The '''EditorAreaStyles''' option is similar to [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/EditorAreaCSS|EditorAreaCSS]]. The difference is that you define your custom style inside the configuration file. For example:
+
For example:
<pre>
+
<pre>FCKConfig.EditorAreaStyles = 'body { color: Grey } h1 { color: Orange }';
FCKConfig.EditorAreaStyles = 'body { color: Grey } h1 { color: Orange }';
 
 
</pre>
 
</pre>

Latest revision as of 18:27, 26 February 2008

You can precisely simulate the output of your site inside FCKeditor, including background colors, font styles and sizes. The EditorAreaStyles option is similar to EditorAreaCSS. The difference is that you define your custom style inside the configuration file or inline in the page when creating the editor instance.

For example:

FCKConfig.EditorAreaStyles = 'body { color: Grey } h1 { color: Orange }';
This page was last edited on 26 February 2008, at 18:27.