Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 486fe43

Browse files
committed
Simply CKEditor toolbar
1 parent 402fa26 commit 486fe43

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

src/web/scripts/ckeditor/ckeditor/config.js

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,13 @@ CKEDITOR.editorConfig = function (config) {
1010
config.filebrowserImageUploadUrl = null;
1111
config.enterMode = CKEDITOR.ENTER_BR;
1212
config.toolbar = [
13-
{ name: 'document', items : ['NewPage','DocProps','Preview','Print','-','Templates' ] },
14-
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
15-
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
16-
'/',
13+
{ name: 'document', items : ['Source','Preview','-','Templates','-', 'SpellChecker' ] },
14+
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','-','Undo','Redo' ] },
1715
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
18-
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv',
19-
'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
20-
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
21-
{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },
2216
'/',
23-
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
24-
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
25-
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }
17+
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize', '-', 'TextColor','BGColor'] },
18+
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote',
19+
'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },
20+
{ name: 'links', items : [ 'Link','Unlink' ] }
2621
];
2722
};

0 commit comments

Comments
 (0)