/** * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. // For the complete reference: // http://docs.ckeditor.com/#!/api/CKEDITOR.config // The toolbar groups arrangement, optimized for a single toolbar row. config.toolbarGroups = [ { name: 'basicstyles', groups: ['basicstyles', 'cleanup'] }, { name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] }, { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'links' }, { name: 'insert' }, { name: 'styles' }, { name: 'colors' }, { name: 'tools' }, { name: 'others' }, { name: 'about' }, { name: 'forms' }, { name: 'document', groups: ['mode', 'document', 'doctools'] } ]; // The default plugins included in the basic setup define some buttons that // we don't want too have in a basic editor. We remove them here. //config.removeButtons = 'Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Subscript,Superscript,Source,Cut,Copy,Paste,Anchor,Image,Table,Maximize,Styles,Format,PasteText,PasteFromWord,Blockquote,Strike,RemoveFormat,horizontalLine,basicstyles,cleanup,HorizontalRule'; config.removeButtons = 'Link,Unlink,Undo,Redo,Maximize,Source,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Subscript,Superscript,Cut,Copy,Paste,Anchor,Image,Table,Styles,Format,PasteText,PasteFromWord,Blockquote,Strike,horizontalLine,basicstyles,cleanup,HorizontalRule,spellchecker'; //config.removeButtons = 'Subscript,Superscript,Source,Cut,Copy,Paste,Anchor,Image,Table,Maximize,Styles'; //config.removeButtons = 'Format,PasteText,PasteFromWord,Blockquote,Strike,RemoveFormat,horizontalrule,basicstyles,cleanup'; //CKEDITOR.config.removePlugins = 'about,specialchar,scayt,magicline,spellchecker'; CKEDITOR.config.removePlugins = 'Source,about,specialchar,scayt,magicline,spellchecker'; // Let's have it basic on dialogs as well. config.removeDialogTabs = 'link:advanced'; //FCKConfig.DefaultLinkProtocal = 'https://'; //config.extraPlugins = 'liststyle'; };