JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-4.3.1_full
[ckeditor.git] / samples / plugins / toolbar / toolbar.html
index b0f7179..8d231d9 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>\r
 <!--\r
 Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
-For licensing, see LICENSE.html or http://ckeditor.com/license\r
+For licensing, see LICENSE.md or http://ckeditor.com/license\r
 -->\r
 <html>\r
 <head>\r
@@ -10,7 +10,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
        <meta name="ckeditor-sample-name" content="Toolbar Configurations">\r
        <meta name="ckeditor-sample-group" content="Advanced Samples">\r
        <meta name="ckeditor-sample-description" content="Configuring CKEditor to display full or custom toolbar layout.">\r
-       <meta name="ckeditor-sample-isnew" content="1">\r
        <script src="../../../ckeditor.js"></script>\r
        <link href="../../../samples/sample.css" rel="stylesheet">\r
 </head>\r
@@ -102,7 +101,7 @@ CKEDITOR.replace( <em>'textarea_id'</em>, {
        CKEDITOR.on( 'instanceReady', function( evt ) {\r
                var editor = evt.editor,\r
                        editorCurrent = editor.name == 'editorCurrent',\r
-                       defaultToolbar = !( editor.config.toolbar || editor.config.toolbarGroups ),\r
+                       defaultToolbar = !( editor.config.toolbar || editor.config.toolbarGroups || editor.config.removeButtons ),\r
                        pre = CKEDITOR.document.getById( editor.name + 'Cfg' ),\r
                        output = '';\r
 \r
@@ -142,6 +141,7 @@ CKEDITOR.replace( <em>'textarea_id'</em>, {
                // Reset toolbar settings, so full toolbar will be generated automatically.\r
                toolbar: null,\r
                toolbarGroups: null,\r
+               removeButtons: null,\r
                height: 100\r
        } );\r
 \r