12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /**
- * Licensed Materials - Property of IBM
- *
- * IBM Cognos Products: SHARE
- *
- * Copyright IBM Corp. 2015, 2018
- *
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- CKEDITOR.editorConfig = function( config ) {
- // The toolbar groups arrangement, optimized for two toolbar rows.
- config.toolbarGroups = [
- { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
- { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
- { name: 'links' },
- { name: 'insert' },
- { name: 'forms' },
- { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
- { name: 'others' },
- { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
- { name: 'styles' },
- { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
- { name: 'colors' },
- { name: 'tools' }
- ];
- // Remove unnecessary buttons.
- config.removeButtons = 'Anchor,Styles,PasteFromWord,PasteText,Subscript,Superscript,Source';
-
- config.removePlugins = 'elementspath';
-
- // Set the most common block elements.
- config.format_tags = 'p;h1;h2;h3;pre';
- // Simplify the dialog windows.
- config.removeDialogTabs = 'image:advanced;link:advanced';
-
- // Enable collapse/collapsed by default.
- config.toolbarCanCollapse = true;
- config.toolbarStartupExpanded = false;
-
- config.skin = '../../../../js/schedule/utils/ckeditor_delivery_skin';
- };
|