Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ryan778
GitHub Repository: Ryan778/Ryan778.github.io
Path: blob/master/ckeditor_4.6.2/config.js
574 views
1
/**
2
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3
* For licensing, see LICENSE.md or http://ckeditor.com/license
4
*/
5
6
CKEDITOR.editorConfig = function( config ) {
7
// Define changes to default configuration here.
8
// For complete reference see:
9
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
10
11
// The toolbar groups arrangement, optimized for a single toolbar row.
12
config.toolbarGroups = [
13
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
14
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
15
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
16
{ name: 'forms' },
17
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
18
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
19
{ name: 'links' },
20
{ name: 'insert' },
21
{ name: 'styles' },
22
{ name: 'colors' },
23
{ name: 'tools' },
24
{ name: 'others' },
25
{ name: 'about' }
26
];
27
28
// The default plugins included in the basic setup define some buttons that
29
// are not needed in a basic editor. They are removed here.
30
config.removeButtons = 'Cut,Copy,Paste,Undo,Redo,Anchor,Strike,Subscript,Superscript';
31
32
// Dialog windows are also simplified.
33
config.removeDialogTabs = 'link:advanced';
34
config.height = 500;
35
36
config.font_defaultLabel = 'Times New Roman';
37
config.fontSize_defaultLabel = '12px';
38
};
39
40