Changeset 2741:014e6f1fedce for plugins/dcCKEditor/js/ckeditor/config.js
- Timestamp:
- 08/27/14 22:22:46 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcCKEditor/js/ckeditor/config.js
r2738 r2741 1 1 /** 2 2 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. 3 * For licensing, see LICENSE. htmlor http://ckeditor.com/license3 * For licensing, see LICENSE.md or http://ckeditor.com/license 4 4 */ 5 5 6 6 CKEDITOR.editorConfig = function( config ) { 7 // Define changes to default configuration here. 8 // For the complete reference: 9 // http://docs.ckeditor.com/#!/api/CKEDITOR.config 7 // Define changes to default configuration here. For example: 8 // config.language = 'fr'; 9 // config.uiColor = '#AADC6E'; 10 }; 10 11 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' ] },15 { name: 'links' },16 { name: 'insert' },17 { name: 'forms' },18 { name: 'tools' },19 { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },20 { name: 'others' },21 '/',22 { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },23 { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },24 { name: 'styles' },25 { name: 'colors' },26 { name: 'about' }27 ];28 29 // Remove some buttons, provided by the standard plugins, which we don't30 // need to have in the Standard(s) toolbar.31 config.removeButtons = 'Underline,Subscript,Superscript';32 33 // Se the most common block elements.34 config.format_tags = 'p;h1;h2;h3;pre';35 36 // Make dialogs simpler.37 config.removeDialogTabs = 'image:advanced;link:advanced';38 };
Note: See TracChangeset
for help on using the changeset viewer.