X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=samples%2Fplugins%2Ftoolbar%2Ftoolbar.html;h=c78b433c085c43142acd92e1bd93d7cba1339a67;hb=a0df3d0ab0c5252b5e2e0fd274705ede834c2276;hp=8ea15584acc38c78e8456ff82d4c291f06038abd;hpb=57bde48ab8a99810fe524a8b511b2f501bf7f318;p=ckeditor.git
diff --git a/samples/plugins/toolbar/toolbar.html b/samples/plugins/toolbar/toolbar.html
index 8ea1558..c78b433 100644
--- a/samples/plugins/toolbar/toolbar.html
+++ b/samples/plugins/toolbar/toolbar.html
@@ -1,12 +1,12 @@
- Toolbar Configuration — CKEditor Sample
+ Toolbar Configuration — CKEditor Sample
@@ -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
} );
@@ -223,7 +224,7 @@ CKEDITOR.replace( 'textarea_id', {
CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2013, CKSource - Frederico
+ Copyright © 2003-2015, CKSource - Frederico
Knabben. All rights reserved.