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