Skip to content

Commit 5288d7f

Browse files
committed
Build CKEditor Config File
1 parent 29cdd8a commit 5288d7f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
CKEDITOR.editorConfig = function( config ) {
2+
config.extraPlugins = 'cortex_media_insert';
3+
4+
config.toolbarGroups = [
5+
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
6+
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
7+
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
8+
{ name: 'forms', groups: [ 'forms' ] },
9+
{ name: 'styles', groups: [ 'styles' ] },
10+
{ name: 'colors', groups: [ 'colors' ] },
11+
{ name: 'tools', groups: [ 'tools' ] },
12+
{ name: 'others', groups: [ 'others' ] },
13+
{ name: 'about', groups: [ 'about' ] },
14+
'/',
15+
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
16+
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
17+
{ name: 'links', groups: [ 'links' ] },
18+
{ name: 'insert', groups: [ 'insert' ] }
19+
];
20+
21+
config.removeButtons = 'Image,Source,Save,NewPage,Preview,Print,Templates,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Flash,ShowBlocks,About';
22+
};

0 commit comments

Comments
 (0)