提交 | 用户 | 时间
|
58d006
|
1 |
/** |
A |
2 |
* @license Copyright (c) 2003-2012, 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. |
|
8 |
// For the complete reference: |
|
9 |
// http://docs.ckeditor.com/#!/api/CKEDITOR.config |
|
10 |
|
|
11 |
// The toolbar groups arrangement, optimized for two toolbar rows. |
|
12 |
config.toolbarGroups = [ |
|
13 |
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, |
|
14 |
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, |
|
15 |
{ name: 'links' }, |
|
16 |
{ name: 'insert' }, |
|
17 |
{ name: 'forms' }, |
|
18 |
{ name: 'tools' }, |
|
19 |
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, |
|
20 |
{ name: 'others' }, |
|
21 |
'/', |
|
22 |
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, |
|
23 |
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ] }, |
|
24 |
{ name: 'styles' }, |
|
25 |
{ name: 'colors' }, |
|
26 |
{ name: 'about' } |
|
27 |
]; |
|
28 |
|
|
29 |
// Remove some buttons, provided by the standard plugins, which we don't |
|
30 |
// need to have in the Standard(s) toolbar. |
|
31 |
config.removeButtons = 'Underline,Subscript,Superscript'; |
|
32 |
}; |