Hi. I've been trying to modify the toolbar on CKEditor v3.6.2 as per the instructions here: http://docs.cksource.com/CKEditor_3.x/D ... de/Toolbar.
I need to remove the Insert Image and Flash buttons from the toolbar.
I've added the following to the blank config.js file in the CKEditor root but having uploaded it to the server, it makes no difference to the way the editor toolbar displays.
CKEDITOR.editorConfig = function( config ) { config.toolbar = 'MyToolbar'; config.toolbar_MyToolbar = [ { name: 'document', items : [ 'NewPage','Preview' ] }, { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','Scayt' ] }, { name: 'insert', items : [ 'Table','HorizontalRule','Smiley','SpecialChar','PageBreak' ,'Iframe' ] }, '/', { name: 'styles', items : [ 'Styles','Format' ] }, { name: 'basicstyles', items : [ 'Bold','Italic','Strike','-','RemoveFormat' ] }, { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote' ] }, { name: 'links', items : [ 'Link','Unlink','Anchor' ] }, { name: 'tools', items : [ 'Maximize','-','About' ] } ]; };
Re: Toolbar modification problem
Can any kind person help me out with this. I'm up against a deadline and am realy stuck.
Any changes I make to the config.js file seem to be completely ignored.
Help!
Cheers
Steve
Re: Toolbar modification problem