forked from alincode/ckeditor-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
96 lines (89 loc) · 2.46 KB
/
config.js
File metadata and controls
96 lines (89 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/**
* @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 example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
// %REMOVE_START%
config.plugins =
'about,' +
'a11yhelp,' +
'basicstyles,' +
'bidi,' +
'blockquote,' +
'clipboard,' +
'colorbutton,' +
'colordialog,' +
'contextmenu,' +
'dialogadvtab,' +
'div,' +
'elementspath,' +
'enterkey,' +
'entities,' +
'filebrowser,' +
'find,' +
'flash,' +
'floatingspace,' +
'font,' +
'format,' +
'forms,' +
'horizontalrule,' +
'htmlwriter,' +
'image,' +
'iframe,' +
'indentlist,' +
'indentblock,' +
'justify,' +
'language,' +
'link,' +
'list,' +
'liststyle,' +
'magicline,' +
'maximize,' +
'newpage,' +
'pagebreak,' +
'pastefromword,' +
'pastetext,' +
'preview,' +
'print,' +
'removeformat,' +
'resize,' +
'save,' +
'selectall,' +
'showblocks,' +
'showborders,' +
'smiley,' +
'sourcearea,' +
'specialchar,' +
'stylescombo,' +
'tab,' +
'table,' +
'tabletools,' +
'templates,' +
'toolbar,' +
'undo,' +
'wysiwygarea';
config.toolbarGroups = [
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'insert', groups: [ 'insert' ] },
{ name: 'links', groups: [ 'links' ] },
{ name: 'tools', groups: [ 'tools' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
'/',
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'colors', groups: [ 'colors' ] },
{ name: 'styles', groups: [ 'styles' ] },
{ name: 'about', groups: [ 'about' ] },
{ name: 'others', groups: [ 'others' ] },
{ name: 'forms', groups: [ 'forms' ] }
];
config.removeButtons = 'Save,NewPage,Preview,Print,Templates,PasteFromWord,Cut,Flash,About,HiddenField,ImageButton,Button,Select,Textarea,TextField,Radio,Checkbox,Form,Copy,Paste,PasteText';
// %REMOVE_END%
// set the route of image upload route here
config.filebrowserUploadUrl = '/ckeditor/upload';
};
// %LEAVE_UNMINIFIED% %REMOVE_LINE%