X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=samples%2Fplugins%2Ftoolbar%2Ftoolbar.html;h=c78b433c085c43142acd92e1bd93d7cba1339a67;hb=a0df3d0ab0c5252b5e2e0fd274705ede834c2276;hp=b0f7179a3c04f47f575e09fe11756086e627d7fb;hpb=9ff13aaba26bcf5e5315d53a58465507b3c44196;p=ckeditor.git diff --git a/samples/plugins/toolbar/toolbar.html b/samples/plugins/toolbar/toolbar.html index b0f7179..c78b433 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-2015, CKSource - Frederico Knabben. All rights reserved.