I'm also wanting to edit the toolbar for CKEditor, but even after adding features to the arrays in the editors.php file, the changes don't seem to take effect.
I've ran into issues in the past where I've needed to includ extra plugins which would need to be added to the fuel/modules/fuel/assets/js/editors/plugins/ folder:'extraPlugins' => 'image2,uploadimage,justify,indentblock',
These aren't extra plugins I want to add, only the standard CK Editor toolbar features such as array('JustifyLeft,','JustifyCenter','JustifyRight','Underline') etc.
For justify, make sure to download the plugins here and add the folder to fuel/modules/fuel/assets/js/editors/plugins/ http://ckeditor.com/addon/justify
For underline, you'll need to add the following to the editor.php config because the default config.js has Underline included in the 'removeButtons' and this will overwrite it: 'removeButtons' => 'Subscript,Superscript',
Comments
But I'm not able to add any features to the editor config, only remove them. If I remove the entire 'toolbar' array then all the features are present.
Any idea why this is?
'extraPlugins' => 'image2,uploadimage,justify,indentblock',
array('JustifyLeft,','JustifyCenter','JustifyRight','Underline')
etc.http://ckeditor.com/addon/justify
For underline, you'll need to add the following to the editor.php config because the default config.js has Underline included in the 'removeButtons' and this will overwrite it:
'removeButtons' => 'Subscript,Superscript',