Skip to content
This repository was archived by the owner on Feb 2, 2018. It is now read-only.

Commit bfbae86

Browse files
committed
move ckeditor config file in config folder
1 parent 294def1 commit bfbae86

File tree

2 files changed

+23
-52
lines changed

2 files changed

+23
-52
lines changed

config/config_ckeditor.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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.font_names = 'Verdana';
7+
config.toolbar = 'maTool';
8+
config.toolbar_maTool =
9+
[
10+
{ name: 'clipboard', items : ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo']},
11+
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ]},
12+
{ name: 'paragraph', items : ['NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl']},
13+
{ name: 'links', items : ['Link','Unlink']},
14+
{ name: 'insert', items : ['Image','Flash','Table','HorizontalRule','SpecialChar','Iframe']},
15+
{ name: 'styles', items : ['Format', 'Font', 'FontSize']},
16+
{ name: 'colors', items : ['TextColor', 'Source']}
17+
];
18+
19+
config.enterMode = CKEDITOR.ENTER_BR;
20+
config.shiftEnterMode = CKEDITOR.ENTER_BR;
21+
22+
config.colorButton_colors = '373243,d44b28,643ebf,2d89ef,b6086e,bd921e,bd1e4a,009719,373259,121773';
23+
};

libs/ckeditor/config.js

-52
Original file line numberDiff line numberDiff line change
@@ -1,52 +0,0 @@
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

Comments
 (0)