<!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
<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
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
// 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