(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: | ||
− | + | 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. | |
− | + | 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 }';