X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=samples%2Fplugins%2Ftoolbar%2Ftoolbar.html;h=8d231d94133baa1947cb45e0a30b008ccc9f10df;hp=b0f7179a3c04f47f575e09fe11756086e627d7fb;hb=d330efeb22fbe5f5883c29ff0149f7b5a0040bbc;hpb=9ff13aaba26bcf5e5315d53a58465507b3c44196 diff --git a/samples/plugins/toolbar/toolbar.html b/samples/plugins/toolbar/toolbar.html index b0f7179..8d231d9 100644 --- a/samples/plugins/toolbar/toolbar.html +++ b/samples/plugins/toolbar/toolbar.html @@ -1,7 +1,7 @@ @@ -10,7 +10,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license - @@ -102,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 = ''; @@ -142,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 } );