<!DOCTYPE html>\r
<!--\r
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.md or http://ckeditor.com/license\r
-->\r
<html>\r
<head>\r
- <title>Toolbar Configuration — CKEditor Sample</title>\r
<meta charset="utf-8">\r
+ <title>Toolbar Configuration — CKEditor Sample</title>\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
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>\r
</p>\r
<p id="copy">\r
- Copyright © 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
+ Copyright © 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
Knabben. All rights reserved.\r
</p>\r
</div>\r