X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=samples%2Fplugins%2Ftoolbar%2Ftoolbar.html;h=8d231d94133baa1947cb45e0a30b008ccc9f10df;hp=8ea15584acc38c78e8456ff82d4c291f06038abd;hb=d330efeb22fbe5f5883c29ff0149f7b5a0040bbc;hpb=57bde48ab8a99810fe524a8b511b2f501bf7f318 diff --git a/samples/plugins/toolbar/toolbar.html b/samples/plugins/toolbar/toolbar.html index 8ea1558..8d231d9 100644 --- a/samples/plugins/toolbar/toolbar.html +++ b/samples/plugins/toolbar/toolbar.html @@ -101,7 +101,7 @@ CKEDITOR.replace( 'textarea_id', { CKEDITOR.on( 'instanceReady', function( evt ) { var editor = evt.editor, editorCurrent = editor.name == 'editorCurrent', - defaultToolbar = !( editor.config.toolbar || editor.config.toolbarGroups ), + defaultToolbar = !( editor.config.toolbar || editor.config.toolbarGroups || editor.config.removeButtons ), pre = CKEDITOR.document.getById( editor.name + 'Cfg' ), output = ''; @@ -141,6 +141,7 @@ CKEDITOR.replace( 'textarea_id', { // Reset toolbar settings, so full toolbar will be generated automatically. toolbar: null, toolbarGroups: null, + removeButtons: null, height: 100 } );