Upgrade to 4.2.8
[usit-rt.git] / share / static / RichText / config.js
CommitLineData
3ffc5f4f
MKG
1/**
2 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.html or http://ckeditor.com/license
4 */
5
6CKEDITOR.editorConfig = function( config ) {
7 // Define changes to default configuration here. For example:
8 // config.language = 'fr';
9 // config.uiColor = '#AADC6E';
10 config.toolbar = 'Full';
11
12config.toolbar_Full =
13[
14 ['Cut','Copy','Paste','PasteText','PasteFromWord'],
15 ['Undo','Redo','-','-','SelectAll','RemoveFormat'],
16 ['Table','HorizontalRule','SpecialChar'],
17 '/',
18 ['Bold','Italic','Underline','Strike'],
19 ['NumberedList','BulletedList','-','Outdent','Indent'],
20 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
21 '/',
22 ['Format','Font','FontSize'],
23 ['TextColor'],
24 ['Link']
25];
26
27config.enterMode = CKEDITOR.ENTER_BR;
28config.shiftEnterMode = CKEDITOR.ENTER_P;
29config.enableTabKeyTools = true;
30config.htmlEncodeOutput = false;
31
32config.disableNativeSpellChecker = false;
33config.browserContextMenuOnCtrl = true;
34
35
36config.toolbarCanCollapse = true;
37config.toolbarStartupExpanded = false;
38config.font_names =
39 'Arial/Arial, Helvetica, sans-serif;' +
40 'Courier New/Courier New, Courier, monospace;' +
41 'Georgia/Georgia, serif;' +
42 'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' +
43 'Tahoma/Tahoma, Geneva, sans-serif;' +
44 'Times New Roman/Times New Roman, Times, serif;' +
45 'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' +
46 'Verdana/Verdana, Geneva, sans-serif';
47};