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 | We can use one config.js file now and just specify the toolbar when initiating the instance in the various ckeditor_xx scripts (see mgtsum for example) - change the menu to ckeditor_mgtsum and copy config.js to server |
---|
7 | however, for now have left all the copy files there to save time |
---|
8 | */ |
---|
9 | CKEDITOR.editorConfig = function( config ) { |
---|
10 | // Define changes to default configuration here. For example: |
---|
11 | // config.language = 'fr'; |
---|
12 | // config.uiColor = '#AADC6E'; |
---|
13 | config.disableNativeSpellChecker = false; |
---|
14 | config.scayt_autoStartup = true; |
---|
15 | |
---|
16 | //config.toolbar = 'SDIAdmin'; |
---|
17 | //config.toolbar = 'SDIBasic'; |
---|
18 | config.toolbar_SDIBasic = |
---|
19 | [ |
---|
20 | { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, |
---|
21 | { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, |
---|
22 | { name: 'basicstyles', items : [ 'Bold','Italic','Underline','-','RemoveFormat' ] }, |
---|
23 | { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ]}, |
---|
24 | { name: 'tools', items : [ 'Maximize' ] }, |
---|
25 | '/', |
---|
26 | { name: 'insert', items : [ 'Table' ] }, |
---|
27 | ]; |
---|
28 | |
---|
29 | config.toolbar_SDIAdmin = |
---|
30 | [ |
---|
31 | { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] }, |
---|
32 | { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, |
---|
33 | { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, |
---|
34 | { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', |
---|
35 | 'HiddenField' ] }, |
---|
36 | '/', |
---|
37 | { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] }, |
---|
38 | { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv', |
---|
39 | '-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] }, |
---|
40 | { name: 'links', items : [ 'Link','Unlink','Anchor' ] }, |
---|
41 | { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] }, |
---|
42 | '/', |
---|
43 | { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, |
---|
44 | { name: 'colors', items : [ 'TextColor','BGColor' ] }, |
---|
45 | { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] } |
---|
46 | ]; |
---|
47 | }; |
---|