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

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	 config.language = 'zh-cn'; //配置语言
	 config.uiColor = '#f7f8f9'; //背景颜色
	 config.filebrowserUploadUrl ='/ckeditor/imageUpload';
	 config.enterMode=2;//回车的时候增加的是<br>
	 config.extraPlugins = 'equation';
	//工具栏
	 config.toolbar =
	 [
	     ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
	     ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
	     ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	     ['Link','Unlink','Anchor'],
	     ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
	     '/',
	     ['Styles','Format','Font','FontSize'],
	     ['TextColor','BGColor'],
	     ['Maximize', 'ShowBlocks','-','Source','-','Undo','Redo']
	 ];
};
