X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=samples%2Fplugins%2Ftoolbar%2Ftoolbar.html;h=6cf2ddf138f610d2a342daf6b324db30b398bdee;hb=dc5b273b4cbd7e7d0167499e7649867ba2a5b408;hp=b762429b482a67d614246181d2e4f0dff9d216ad;hpb=26ea9b471a69b563dfa9fb7c9c8d97db8e56de0e;p=ckeditor.git
diff --git a/samples/plugins/toolbar/toolbar.html b/samples/plugins/toolbar/toolbar.html
index b762429..6cf2ddf 100644
--- a/samples/plugins/toolbar/toolbar.html
+++ b/samples/plugins/toolbar/toolbar.html
@@ -1,16 +1,15 @@
- Toolbar Configuration — CKEditor Sample
+ Toolbar Configuration — CKEditor Sample
-
@@ -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
} );
@@ -224,7 +224,7 @@ CKEDITOR.replace( 'textarea_id', {
CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2013, CKSource - Frederico
+ Copyright © 2003-2014, CKSource - Frederico
Knabben. All rights reserved.