(New page: == StylesXmlPath == This option contains the information regarding to the path of the XML file with the style definitions. Code: <pre> FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'f...) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | This option sets the path to the XML file wich contains the style definitions. | |
− | + | By default the editor loads the "fckstyles.xml" file, placed in the editor installation directory. You may point it to another file located outside the editor folder, making it easier to maintain editor upgrades. For example, you may have a directory named "fckeditor_assets" containing all your custom files, while the editor is installed in the "fckeditor" folder. In this case, just set StylesXmlPath as follows: | |
− | + | <pre>FCKConfig.StylesXmlPath = '/fckeditor_assets/fckstyles.xml' ; | |
− | <pre> | ||
− | FCKConfig.StylesXmlPath = | ||
</pre> | </pre> |
Latest revision as of 14:15, 27 May 2008
This option sets the path to the XML file wich contains the style definitions.
By default the editor loads the "fckstyles.xml" file, placed in the editor installation directory. You may point it to another file located outside the editor folder, making it easier to maintain editor upgrades. For example, you may have a directory named "fckeditor_assets" containing all your custom files, while the editor is installed in the "fckeditor" folder. In this case, just set StylesXmlPath as follows:
FCKConfig.StylesXmlPath = '/fckeditor_assets/fckstyles.xml' ;