Ticket #11206: config.js

File config.js, 1.1 KB (added by Jakub Ś, 11 years ago)
Line 
1/**
2 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.html or http://ckeditor.com/license
4 */
5
6 CKEDITOR.editorConfig = function( config ) {
7   
8    config.toolbarGroups = [
9        { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, '/', { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, '/', { name: 'styles' }, { name: 'insert' }
10    ];
11
12    //Remove some buttons, provided by the standard plugins, which we don't need to have in the Standard(s) toolbar.
13        config.removeButtons = 'NewPage,Templates,CreateDiv,Anchor,Flash,Image,HorizontalRule,Smiley,PageBreak,Iframe,Format,Font,FontSize,Table';
14
15    //remove overall plugins that no need
16        config.removePlugins = 'document,forms,about'
17
18    //Make dialogs simpler.
19        config.removeDialogTabs = 'image:advanced;link:advanced';
20
21    //To set the Undo Stack size to hold (N-1)
22    config.undoStackSize = 500;
23
24};
25
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy