RT 4.2.11, ticket#13852
[freeside.git] / rt / share / static / RichText / config.js
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
6 CKEDITOR.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
12 config.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
27 config.enterMode = CKEDITOR.ENTER_BR;
28 config.shiftEnterMode = CKEDITOR.ENTER_P;
29 config.enableTabKeyTools = true;
30 config.htmlEncodeOutput = false;
31
32 config.disableNativeSpellChecker = false;
33 config.browserContextMenuOnCtrl = true;
34
35
36 config.toolbarCanCollapse = true;
37 config.toolbarStartupExpanded = false;
38 config.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 };