mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-03 08:04:17 +01:00
33 lines
1.2 KiB
JavaScript
33 lines
1.2 KiB
JavaScript
/**
|
|
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
|
|
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
*/
|
|
|
|
CKEDITOR.editorConfig = function( config ) {
|
|
config.toolbarGroups = [
|
|
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
|
|
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
|
|
{ name: 'links', groups: [ 'links' ] },
|
|
{ name: 'insert', groups: [ 'insert' ] },
|
|
{ name: 'forms', groups: [ 'forms' ] },
|
|
{ name: 'tools', groups: [ 'tools' ] },
|
|
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
|
|
{ name: 'others', groups: [ 'others' ] },
|
|
'/',
|
|
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
|
|
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
|
|
{ name: 'styles', groups: [ 'styles' ] },
|
|
{ name: 'colors', groups: [ 'colors' ] },
|
|
{ name: 'about', groups: [ 'about' ] }
|
|
];
|
|
|
|
config.removeButtons = 'Subscript,Superscript,Scayt,Anchor,Source,Outdent,Indent,Blockquote,About,PasteFromWord';
|
|
config.removePlugins = 'elementspath';
|
|
config.resize_enabled = false;
|
|
config.toolbarCanCollapse = true;
|
|
config.toolbarStartupExpanded = false;
|
|
};
|
|
|
|
|
|
|