Skip to content

Commit

Permalink
Toolbar sample should reset removeButtons #10338.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Dec 4, 2013
1 parent ab49df9 commit 54bbb72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/toolbar/samples/toolbar.html
Expand Up @@ -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 = '';

Expand Down Expand Up @@ -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
} );

Expand Down

0 comments on commit 54bbb72

Please sign in to comment.