Showing
1 changed file
with
17 additions
and
1 deletions
@@ -3,8 +3,24 @@ | @@ -3,8 +3,24 @@ | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | 3 | * For licensing, see LICENSE.md or http://ckeditor.com/license |
4 | */ | 4 | */ |
5 | 5 | ||
6 | -CKEDITOR.editorConfig = function( config ) { | 6 | +CKEDITOR.editorConfig = function (config) { |
7 | // Define changes to default configuration here. For example: | 7 | // Define changes to default configuration here. For example: |
8 | // config.language = 'fr'; | 8 | // config.language = 'fr'; |
9 | // config.uiColor = '#AADC6E'; | 9 | // config.uiColor = '#AADC6E'; |
10 | + config.toolbar = [ | ||
11 | + {name: 'document', groups: ['mode', 'document', 'doctools'], items: ['Source', '-', 'Save', '-', 'Templates']}, | ||
12 | + {name: 'clipboard', groups: ['clipboard', 'undo'], items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']}, | ||
13 | + {name: 'editing', groups: ['find', 'selection', 'spellchecker'], items: ['Replace']}, | ||
14 | + '/', | ||
15 | + {name: 'basicstyles', groups: ['basicstyles', 'cleanup'], items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat']}, | ||
16 | + {name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'], items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl']}, | ||
17 | + {name: 'links', items: ['Link', 'Unlink', 'Anchor']}, | ||
18 | + {name: 'insert', items: ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe']}, | ||
19 | + '/', | ||
20 | + {name: 'styles', items: ['Format', 'Font', 'FontSize']}, | ||
21 | + {name: 'colors', items: ['TextColor', 'BGColor']}, | ||
22 | + {name: 'tools', items: ['Maximize', 'ShowBlocks']}, | ||
23 | + {name: 'others', items: ['-']}, | ||
24 | + {name: 'about', items: ['About']} | ||
25 | + ]; | ||
10 | }; | 26 | }; |
-
Please register or login to post a comment