diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-01-25 17:45:33 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-01-25 18:00:33 +0100 |
commit | 7adcb81e4f83f98c468889aaa5a85558ba88c770 (patch) | |
tree | 0d6ede733777b29060b48df4afaa2c64bfbae276 /sources/config.js | |
download | connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.gz connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.zst connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.zip |
Initial commit4.5.6
Diffstat (limited to 'sources/config.js')
-rw-r--r-- | sources/config.js | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sources/config.js b/sources/config.js new file mode 100644 index 00000000..464c17fe --- /dev/null +++ b/sources/config.js | |||
@@ -0,0 +1,45 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | CKEDITOR.editorConfig = function( config ) { | ||
7 | |||
8 | // %REMOVE_START% | ||
9 | // The configuration options below are needed when running CKEditor from source files. | ||
10 | config.plugins = 'dialogui,dialog,about,a11yhelp,basicstyles,blockquote,clipboard,panel,floatpanel,menu,contextmenu,resize,button,toolbar,elementspath,enterkey,entities,popup,filebrowser,floatingspace,listblock,richcombo,format,horizontalrule,htmlwriter,wysiwygarea,image,indent,indentlist,fakeobjects,link,list,magicline,maximize,pastetext,pastefromword,removeformat,showborders,sourcearea,specialchar,menubutton,scayt,stylescombo,tab,table,tabletools,undo,wsc,dialogadvtab,bidi,panelbutton,colorbutton,colordialog,templates,div,find,flash,font,forms,iframe,indentblock,smiley,justify,liststyle,newpage,pagebreak,preview,print,save,selectall,showblocks,imagebrowser'; | ||
11 | config.skin = 'moono'; | ||
12 | // %REMOVE_END% | ||
13 | |||
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 | }; | ||