forked from nanlabs/host-tools-ckeditor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
26 lines (19 loc) · 812 Bytes
/
config.js
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
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config ) {
config.uiColor = "#FFF";
// The toolbar groups arrangement, optimized for two toolbar rows.
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent' ] },
{ name: 'styles' },
{ name: 'links' },
{ name: 'insert' }
];
config.removeButtons = 'Strike,Subscript,Superscript,Anchor,SpecialChar,Table,Styles,Format,Flash,Smiley,Iframe,PageBreak';
config.format_tags = 'p;h1;h2;h3;pre';
config.removeDialogTabs = 'image:advanced;link:advanced';
};