Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to change editor toolbar (3.3.1 with patched CKEditor 4.3.2)
#1
When I change the editor toolbar in gsconfig.php as in the past, no toolbar will be shown and the WYSIWYG window will be plain text without any styles and everything is wrapped in <p></p>. For example:

Code:
define('GSEDITORTOOL', "
    [ 'JustifyLeft','JustifyCenter','JustifyRight' ],
    ");

Not changing the toolbar or setting the toolbar to 'basic' or 'advanced' will show the advanced 5-row toolbar:

Code:
define('GSEDITORTOOL', 'basic');
Code:
define('GSEDITORTOOL', 'advanced');
Code:
#define('GSEDITORTOOL', 'advanced');

I also tried to modify /admin/template/js/ckeditor/config.js without effect:

Code:
CKEDITOR.editorConfig = function( config ) {
    config.toolbar =  [
        [ 'JustifyLeft','JustifyCenter','JustifyRight' ],
    ];
};

So, my question is: How does changing the toolbar work now or what am I suddenly doing wrong?
Reply


Messages In This Thread
Unable to change editor toolbar (3.3.1 with patched CKEditor 4.3.2) - by Markus00000 - 2014-03-07, 19:05:44



Users browsing this thread: 1 Guest(s)