The FCKeditor supports user defined styles to select from for content editors. To show these styles, a plain text file containing the style definition XML code has to be placed in the same folder where the template CSS style sheet is located in the OpenCms virtual file system (VFS). Remember to set the "template" property of the OpenCms template file to the absolute VFS path of the style sheet. This ensures that the WYSIWYG editor correctly displays the styles defined for the template.

The file containing the XML code has to be exactly named like the file name of the CSS with the suffix "_style.xml" added. E.g. for the CSS file "style.css" the style definition file has to be named "style.css_style.xml". An example for a style XML syntax can be found in the VFS folder "/system/workplace/resources/editors/fckeditor/fckstyles.xml".

Details about the usage and configuration of this editor can be found at the documentation homepage.

]]>