Skip to content
Permalink
Browse files

Toolbar sample should reset removeButtons #10338.

  • Loading branch information...
Reinmar committed Dec 4, 2013
1 parent ab49df9 commit 54bbb72cdc2db3eb205a2f5077d8a02dc1facc92
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugins/toolbar/samples/toolbar.html
@@ -101,7 +101,7 @@ <h2 class="samples">Full toolbar configuration</h2>
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 @@ <h2 class="samples">Full toolbar configuration</h2>
// Reset toolbar settings, so full toolbar will be generated automatically.
toolbar: null,
toolbarGroups: null,
removeButtons: null,
height: 100
} );

0 comments on commit 54bbb72

Please sign in to comment.
You can’t perform that action at this time.