2014-03-07, 19:24:05
Hi guys,
I have a question about the tutorial CKEditor Configuration Files. It seems to be a bit outdated and maybe that's why it doesnt work.
I have no problems redefining custom settings in config.js and custom styles in default.js unless I copy my custom settings elsewhere and set it in gsconfig.php.
These are the places where it works (ofc, that's default)
Whenever I try to define custom path to these files in my theme folder, it just doesn't apply. Of course I have flushed browser's cache.
What I did exactly is that I added
I tried it with both CKEditor versions (3.6.x and 4.x). With 3.6, it just doesn't apply, it loads settings from its original folder admin/.... With 4.x, the editor doesn't load itself at all after adding the lines above into gsconfig.php. There's a different folder structure at 4.x, I know so I changed the paths properly.
Does any of you use it so that it works? I would like to make updating GS faster and easier, it's annoying to have to manually replace those files after each update. It's not any critical but still, when you know there's a feature for this, why not to use it.
I have a question about the tutorial CKEditor Configuration Files. It seems to be a bit outdated and maybe that's why it doesnt work.
I have no problems redefining custom settings in config.js and custom styles in default.js unless I copy my custom settings elsewhere and set it in gsconfig.php.
These are the places where it works (ofc, that's default)
Code:
/admin/template/js/ckeditor/config.js
/admin/template/js/ckeditor/plugins/styles/styles/default.php
Whenever I try to define custom path to these files in my theme folder, it just doesn't apply. Of course I have flushed browser's cache.
What I did exactly is that I added
Code:
define('GSEDITOROPTIONS', "entities : false,customConfig : '../../../../theme/themeName/ckeditor-config/config.js',skin: 'v2'");
define('GSEDITOROPTIONS',"stylesSet: 'default:http://fullurl/theme/themeName/ckeditor-config/default.js'");
I tried it with both CKEditor versions (3.6.x and 4.x). With 3.6, it just doesn't apply, it loads settings from its original folder admin/.... With 4.x, the editor doesn't load itself at all after adding the lines above into gsconfig.php. There's a different folder structure at 4.x, I know so I changed the paths properly.
Does any of you use it so that it works? I would like to make updating GS faster and easier, it's annoying to have to manually replace those files after each update. It's not any critical but still, when you know there's a feature for this, why not to use it.