I've just installed the full ckeditor 4.2 and it works great.
Now there is 1 thing I'd like to change and that is the toolbar but I'm having trouble with it.
By default I have the full toolbar but I do not want to show all buttons to the user, i.e. I'd like to hide the source toolbar.
Now how do I accomplish this?
in my php file I have the following code:
<script>
CKEDITOR.replace( 'tekstbericht', {
});
</script>
I have tried copying the following code in both my php file as in config.js but it doesn't make a difference, I still see the full toolbar:
config.toolbarGroups = [ { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, { name: 'links' }, { name: 'insert' }, { name: 'forms' }, { name: 'tools' }, { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, { name: 'others' }, '/', { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ] }, { name: 'styles' }, { name: 'colors' }, { name: 'about' } ];
Tried it on 2 different browsers, IE10 and Chrome. Also cleared cache multiple times.
Any help would be appreciated.
The easiest way is to add
The easiest way is to add this code to your config.js file:
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!