]>
git.immae.eu Git - perso/Immae/Projets/packagist/connexionswing-ckeditor-component.git/blob - release/config.js
35c0db9fc251bdff4a0978e0225512372d7c395a
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' ] },
29 // Remove some buttons provided by the standard plugins, which are
30 // not needed in the Standard(s) toolbar.
31 config
.removeButtons
= 'Underline,Subscript,Superscript';
33 // Set the most common block elements.
34 config
.format_tags
= 'p;h1;h2;h3;pre';
36 // Simplify the dialog windows.
37 config
.removeDialogTabs
= 'image:advanced;link:advanced';