]>
Commit | Line | Data |
---|---|---|
7adcb81e | 1 | /** |
3b35bd27 | 2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. |
7adcb81e IB |
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license |
4 | */ | |
5 | ||
6 | CKEDITOR.editorConfig = function( config ) { | |
7 | \r | |
8 | // %REMOVE_START%\r | |
9 | // The configuration options below are needed when running CKEditor from source files.\r | |
3b35bd27 | 10 | config.plugins = 'dialogui,dialog,a11yhelp,about,basicstyles,bidi,blockquote,clipboard,button,panelbutton,panel,floatpanel,colorbutton,colordialog,menu,contextmenu,dialogadvtab,div,elementspath,enterkey,entities,popup,filebrowser,find,fakeobjects,flash,floatingspace,listblock,richcombo,font,format,forms,horizontalrule,htmlwriter,iframe,image,imagebrowser,indent,indentblock,indentlist,justify,link,list,liststyle,magicline,maximize,newpage,pagebreak,pastefromword,pastetext,preview,print,removeformat,resize,save,menubutton,scayt,selectall,showblocks,showborders,smiley,sourcearea,specialchar,stylescombo,tab,table,tabletools,templates,toolbar,undo,wsc,wysiwygarea,lineutils,widget';\r |
7adcb81e IB |
11 | config.skin = 'moono';\r |
12 | // %REMOVE_END%\r | |
13 | \r | |
14 | // Define changes to default configuration here. | |
15 | // For complete reference see: | |
16 | // http://docs.ckeditor.com/#!/api/CKEDITOR.config | |
17 | ||
18 | // The toolbar groups arrangement, optimized for two toolbar rows. | |
19 | config.toolbarGroups = [ | |
20 | { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, | |
21 | { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, | |
22 | { name: 'links' }, | |
23 | { name: 'insert' }, | |
24 | { name: 'forms' }, | |
25 | { name: 'tools' }, | |
26 | { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, | |
27 | { name: 'others' }, | |
28 | '/', | |
29 | { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, | |
30 | { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] }, | |
31 | { name: 'styles' }, | |
32 | { name: 'colors' }, | |
33 | { name: 'about' } | |
34 | ]; | |
35 | ||
36 | // Remove some buttons provided by the standard plugins, which are | |
37 | // not needed in the Standard(s) toolbar. | |
38 | config.removeButtons = 'Underline,Subscript,Superscript'; | |
39 | ||
40 | // Set the most common block elements. | |
41 | config.format_tags = 'p;h1;h2;h3;pre'; | |
42 | ||
43 | // Simplify the dialog windows. | |
44 | config.removeDialogTabs = 'image:advanced;link:advanced'; | |
45 | }; |