summaryrefslogtreecommitdiff
path: root/ckconfig.bitweaver.js
blob: 5783c7ef1f5fcbefd23ef6ce31193806df76323a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// $header$

CKEDITOR.editorConfig = function( config ) {

/* Start of BITWEAVER toolbar sets */
config.toolbar_Supported = [
	['Source','-','Preview'],
	['Cut','Copy','Paste','PasteText','PasteFromLibreOffice','-','Print'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	'/',
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	['NumberedList','BulletedList','-','Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	['Link','Unlink','Anchor'],
	['Table','HorizontalRule','SpecialChar'],
	'/',
	['Styles','Format','Font','FontSize'],
	['TextColor','BGColor'],
	['Maximize','ShowBlocks','-','About']
];

config.toolbar_Beginner = [
	['Bold','Italic','Underline'],
	['NumberedList','BulletedList'],
	['Link','Unlink','Anchor'],
	['Table','HorizontalRule','SpecialChar'],
	['Maximize','-','About']
];

config.toolbar_Intermediate = [
	['Cut','Copy','Paste','PasteText','PasteFromLibreOffice'],
	['Undo','Redo','-','Find','Replace','-','SelectAll'],
	'/',
	['Bold','Italic','Underline'],
	['NumberedList','BulletedList','-','Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	['Link','Unlink','Anchor'],
	['Table','HorizontalRule','SpecialChar'],
	'/',
	['TextColor','BGColor'],
	['Maximize','-','About']
];

config.toolbar_Advanced = [
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	['NumberedList','BulletedList','-','Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	['Link','Unlink','Anchor'],
	['Table','HorizontalRule','SpecialChar'],
	'/',
	['Source','-','Preview'],
	['Cut','Copy','Paste','PasteText','PasteFromLibreOffice'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	'/',
	['Styles','Format','Font','FontSize'],
	['TextColor','BGColor'],
	['Maximize','ShowBlocks','-','About']
];

/* END of BITWEAVER toolbar sets */

// Lock resize function to bitweaver window.
config.resize_minHeight = 300;
config.resize_dir = 'vertical';
config.autoParagraph = false;
config.enterMode = CKEDITOR.ENTER_P;

}; // End CKEDITOR.editorConfig function