/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. // For complete reference see: // http://docs.ckeditor.com/#!/api/CKEDITOR.config //config.skin = 'office2013'; //config.skin = 'Moono_blue'; // The toolbar groups arrangement, optimized for a single toolbar row. config.toolbarGroups = [ { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, { name: 'forms' }, { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] }, { name: 'links' }, { name: 'insert' }, { name: 'styles' }, { name: 'colors' }, { name: 'tools' }, { name: 'others' }, { name: 'about' } ]; config.extraPlugins = 'autogrow'; config.autoGrow_minHeight = 250; config.autoGrow_maxHeight = 800; config.resize_dir = 'both'; config.resize_enabled = true; config.resize_minWidth = 100; config.resize_maxWidth = 6000; config.resize_minHeight = 100; config.resize_maxHeight = 6000; // The default plugins included in the basic setup define some buttons that // are not needed in a basic editor. They are removed here. // config.removeButtons = 'Subscript,Superscript'; // Dialog windows are also simplified. config.removeDialogTabs = 'link:advanced'; config.extraPlugins = 'sourcearea,colorbutton,autogrow,panelbutton,removeformat,colordialog,table,tableresize,tabletools,contextmenu,menu,blockquote,pastetext,justify,clipboard,resize,elementspath,font,richcombo,listblock,floatpanel,panel,button,format,horizontalrule,image,imagepaste,imageresize,symbol'; }; // <- trza dodać