/**
 * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	 config.language = 'zh-cn'; //配置语言
	 config.uiColor = '#f7f8f9'; //背景颜色
	 config.enterMode=2;//回车的时候增加的是<br>
	 
	 config.toolbar = 'Basic'; 
	 config.toolbar = 'Full'; 
	 config.toolbar_Full = [ 
	 //['Source','-','Save','NewPage','Preview','-','Templates'], 
	 //['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'], 
	 ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], 
	 //['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'], 
	 ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], 
	 ['NumberedList','BulletedList','-','Outdent','Indent'], 
	 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], 
	 //['Link','Unlink','Anchor'], 
	 //'/', 
	 ['Styles','Format','Font','FontSize'], 
	 ['Image','Table','SpecialChar'], 
	 //['TextColor','BGColor'] 
	 ]; 
	 
//	 config.toolbar_Full = [ 
//   	 ['Source','-','Save','NewPage','Preview','-','Templates'], 
//   	 ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'], 
//   	 ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], 
//   	 ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'], 
//   	 ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], 
//   	 ['NumberedList','BulletedList','-','Outdent','Indent'], 
//   	 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], 
//   	 ['Link','Unlink','Anchor'], 
//   	 '/', 
//   	 ['Styles','Format','Font','FontSize'], 
//   	 ['Image','Table','SpecialChar'], 
//   	 ['TextColor','BGColor'] 
//   	 ]; 
	 //工具栏是否可以被收缩 
	 config.toolbarCanCollapse = true; 
	 config.toolbarStartupExpanded = false; 
	 //工具栏的位置 
	 config.toolbarLocation = 'top';//可选：bottom 
};
