This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
how_to:editor_configuration_custom_files [2011/05/14 14:01] Connie [Custom Stylesheet] |
how_to:editor_configuration_custom_files [2011/11/15 05:12] patriotmedia |
||
---|---|---|---|
Line 1: | Line 1: | ||
**GetSimple-CKEditor** comes with a default configuration file and with a default stylesheet-file (for the styles-combobox). | **GetSimple-CKEditor** comes with a default configuration file and with a default stylesheet-file (for the styles-combobox). | ||
- | You can define your own configuration files which will not be overwritten by GetSimple-Upgrades and which offer some features which are not needed in a standard, stripped-down version. | + | You can define your own configuration files which will not be overwritten by **GetSimple**-Upgrades and which offer some features which are not needed in a standard, stripped-down version. |
===== Standard Configuration File ===== | ===== Standard Configuration File ===== | ||
- | The standard configuration file, which comes with every GetSimple-Version, is located in the folder ''yourGetSimpleRoot/admin/template/js/ckeditor'' and is nearly empty. | + | The standard configuration file, which comes with every **GetSimple**-Version, is located in the folder ''yourGetSimpleRoot/admin/template/js/ckeditor'' and is nearly empty. |
It contains only 2 editor-options: | It contains only 2 editor-options: | ||
Line 33: | Line 33: | ||
An example: | An example: | ||
- | <code>define('GSEDITOROPTIONS', "entities : false,customConfig : '../../../../theme/yourtheme-folder/yourconfigfile.js',skin: 'v2' | + | <code>define('GSEDITOROPTIONS', "entities : false,customConfig : '../../../../themes/yourtheme-folder/yourconfigfile.js',skin: 'v2' |
");</code> | ");</code> | ||
Line 145: | Line 145: | ||
* you need the advanced editor-toolbar to use the styles-combo-box. If you have not done yet, activate that toolbar.\\ <code>define('GSEDITORTOOL', 'advanced');</code> | * you need the advanced editor-toolbar to use the styles-combo-box. If you have not done yet, activate that toolbar.\\ <code>define('GSEDITORTOOL', 'advanced');</code> | ||
* add the stylesheet-definition to the Editor-Options:\\ | * add the stylesheet-definition to the Editor-Options:\\ | ||
- | <code>define('GSEDITOROPTIONS',"stylesSet: 'default:http://www.testdomain.de/.../theme/yourname.js");</code> | + | <code>define('GSEDITOROPTIONS',"stylesSet: 'default:http://www.yourdomain.de/getsimple-root/themes/ckeditorstyles.js'");</code> |
Now, what to edit in this file? | Now, what to edit in this file? |