I tried to add following toolbar configuration in config.js(in ckeditor folder):
CKEDITOR.editorConfig = function( config ) {
config.toolbar = [
{ name: 'tools', items: [ 'Maximize', 'ShowBlocks' ] },
{ name: 'document', items: [ 'Save', 'NewPage', 'Templates' ,'-','Preview'] },
{ name: 'clipboard', items: [ 'Undo', 'Redo','-', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord'] },
{ name: 'editing', items: [ 'Find', 'Replace', '-', 'SelectAll', '-', '-', 'Scayt' ] },
'/',
{ name: 'basicstyles', items: [ 'CopyFormatting', 'RemoveFormat' ,'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript'] },
{ name: 'paragraph', items: [ 'HorizontalRule','PageBreak', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl'] },
'/',
{ name: 'links', items: [ 'Link', 'Unlink', 'Anchor' ] },
{ name: 'insert', items: [ 'Table', 'Image', 'Flash', 'Smiley', 'SpecialChar' ] },
{ name: 'element', items: ['Blockquote', 'CreateDiv', 'Iframe', '-'] },
{ name: 'forms', items: [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] },
'/',
{ name: 'styles', items: [ 'Source', 'Styles', 'Format', 'Font', 'FontSize' ] },
{ name: 'colors', items: [ 'TextColor', 'BGColor' ] },
{ name: 'about', items: [ 'Language' , 'About'] }
];
};
but seems no effect the actual interface, is there a way I can make it?
or should I change something in {{ ckeditor.config() }}, and how?
thanks.