X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=samples%2Fplugins%2Ftoolbar%2Ftoolbar.html;h=8d231d94133baa1947cb45e0a30b008ccc9f10df;hp=b762429b482a67d614246181d2e4f0dff9d216ad;hb=d330efeb22fbe5f5883c29ff0149f7b5a0040bbc;hpb=26ea9b471a69b563dfa9fb7c9c8d97db8e56de0e
diff --git a/samples/plugins/toolbar/toolbar.html b/samples/plugins/toolbar/toolbar.html
index b762429..8d231d9 100644
--- a/samples/plugins/toolbar/toolbar.html
+++ b/samples/plugins/toolbar/toolbar.html
@@ -10,7 +10,6 @@ For licensing, see LICENSE.md 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
} );