2 * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license
6 CKEDITOR
.editorConfig = function( config
) {
7 // Define changes to default configuration here.
8 // For complete reference see:
9 // http://docs.ckeditor.com/#!/api/CKEDITOR.config
11 // The toolbar groups arrangement, optimized for two toolbar rows.
12 config
.toolbarGroups
= [
13 { name
: 'clipboard', groups
: [ 'clipboard', 'undo' ] },
14 { name
: 'editing', groups
: [ 'find', 'selection', 'spellchecker' ] },
19 { name
: 'document', groups
: [ 'mode', 'document', 'doctools' ] },
22 { name
: 'basicstyles', groups
: [ 'basicstyles', 'cleanup' ] },
23 { name
: 'paragraph', groups
: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
28 // Add some extra plugins
29 config
.extraPlugins
= 'justify,showborders,pastefromword,pastetext,htmlwriter';
31 // Remove some buttons provided by the standard plugins, which are
32 // not needed in the Standard(s) toolbar.
33 config
.removeButtons
= 'Underline,Subscript,Superscript';
35 // Set the most common block elements.
36 // config.format_tags = 'p;h1;h2;h3;pre';
38 // Simplify the dialog windows.
39 config
.removeDialogTabs
= 'image:advanced;link:advanced';
40 config
.basicEntities
= false;
41 config
.allowedContent
= true;