first pass RT4 merge, RT#13852
[freeside.git] / rt / share / html / NoAuth / RichText / ckeditor / config.js
1 /*
2 Copyright (c) 2003-2010, 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 {
8         // Define changes to default configuration here. For example:
9         // config.language = 'fr';
10         // config.uiColor = '#AADC6E';
11   config.toolbar = 'Full';
12
13 config.toolbar_Full =
14 [
15     ['Cut','Copy','Paste','PasteText','PasteFromWord'],
16     ['Undo','Redo','-','-','SelectAll','RemoveFormat'],
17     ['Table','HorizontalRule','SpecialChar'],
18     '/',
19     ['Bold','Italic','Underline','Strike'],
20     ['NumberedList','BulletedList','-','Outdent','Indent'],
21     ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
22     '/',
23     ['Format','Font','FontSize'],
24     ['TextColor'],
25     ['Link']
26 ];
27
28 config.enterMode = CKEDITOR.ENTER_BR;
29 config.shiftEnterMode = CKEDITOR.ENTER_P;
30 config.enableTabKeyTools = true;
31 config.htmlEncodeOutput = false;
32
33 config.disableNativeSpellChecker = false;
34 config.browserContextMenuOnCtrl = true;
35
36
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 };