|
1 |
| -/* |
2 |
| - Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. |
3 |
| - For licensing, see LICENSE.html or http://ckeditor.com/license |
4 |
| - */ |
5 |
| -CKEDITOR.editorConfig = function(config) { |
6 |
| - config.resize_enabled = true; |
7 |
| - config.resize_maxWidth = 1130; |
8 |
| - config.width = 1130; |
9 |
| - config.height = 600; |
10 |
| - |
11 |
| - config.font_names = 'Verdana'; |
12 |
| - config.toolbar = 'maTool'; |
13 |
| - config.toolbar_maTool = |
14 |
| - [ |
15 |
| - { name: 'clipboard', items : ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo']}, |
16 |
| - { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ]}, |
17 |
| - { name: 'paragraph', items : ['NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl']}, |
18 |
| - { name: 'links', items : ['Link','Unlink','Anchor']}, |
19 |
| - { name: 'insert', items : ['Image','Flash','Table','HorizontalRule','SpecialChar','PageBreak','Iframe']}, |
20 |
| - { name: 'styles', items : ['Styles','Format', 'Font', 'FontSize']}, |
21 |
| - { name: 'colors', items : ['TextColor','BGColor', 'Source']} |
22 |
| - ]; |
23 |
| - |
24 |
| - config.enterMode = CKEDITOR.ENTER_BR; |
25 |
| - config.shiftEnterMode = CKEDITOR.ENTER_BR; |
26 |
| - |
27 |
| - config.colorButton_colors = '373243,d44b28,643ebf,2d89ef,b6086e,bd921e,bd1e4a,009719,373259,121773'; |
28 |
| - |
29 |
| - |
30 |
| - |
31 |
| - |
32 |
| - /*toobar au complet*/ |
33 |
| - //config.toolbar_Full = |
34 |
| - //[ |
35 |
| - // { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] }, |
36 |
| - // { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, |
37 |
| - // { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, |
38 |
| - // { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', |
39 |
| - // 'HiddenField' ] }, |
40 |
| - // '/', |
41 |
| - // { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] }, |
42 |
| - // { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv', |
43 |
| - // '-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] }, |
44 |
| - // { name: 'links', items : [ 'Link','Unlink','Anchor' ] }, |
45 |
| - // { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] }, |
46 |
| - // '/', |
47 |
| - // { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, |
48 |
| - // { name: 'colors', items : [ 'TextColor','BGColor' ] }, |
49 |
| - // { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] } |
50 |
| - //]; |
51 |
| - |
52 |
| -}; |
0 commit comments