/*
Copyright (c) 2003-2011, 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 = 'fr';
	// config.uiColor = '#AADC6E';
	config.baseHref = '';
	config.language = 'zh-cn';
	config.skin = 'office2003';
	// 取消 “拖拽以改变尺寸”功能 plugins/resize/plugin.js
	config.resize_enabled = false;

	//设置HTML文档类型
	config.docType	= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
	//是否使用完整的html编辑模式 如使用，其源码将包含：<html><body></body></html>等标签
	config.fullPage = false;
	//编辑器中回车产生的标签
	config.enterMode = CKEDITOR.ENTER_BR;		//可选：CKEDITOR.ENTER_BR、CKEDITOR.ENTER_P 或 CKEDITOR.ENTER_DIV
	//当输入：shift+Enter是插入的标签
	config.shiftEnterMode = CKEDITOR.ENTER_P;	//可选：CKEDITOR.ENTER_BR或CKEDITOR.ENTER_DIV


	//默认的字体名 plugins/font/plugin.js
	config.font_defaultLabel = '宋体';
	//字体默认大小 plugins/font/plugin.js
	config.fontSize_defaultLabel = '12px';
	//字体编辑时的字符集 可以添加常用的中文字符：宋体、楷体、黑体等 plugins/font/plugin.js
	config.font_names = 'Arial;宋体;楷体;黑体';

	//字体编辑时可选的字体大小 plugins/font/plugin.js
//	config.fontSize_sizes = '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;';

	config.font_names = 'Arial/Arial;Courier New/Courier New;Tahoma/Tahoma;Times New Roman/Times New Roman;宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;';
	config.width = 660;
	config.height = 250;
	config.toolbar = 'SY';
/*
	config.toolbar =
	[
	['Save','NewPage','Preview'],
	['Cut','Copy','Paste','PasteText','PasteFromWord'],
	['Undo','Redo','-','Find','Replace','SelectAll'],
	['Form', 'Button', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select'],
	['Link','Unlink'],
	['Image','Flash','Table','HorizontalRule','SpecialChar'],
	'/',
	['Format','Font','FontSize'],
	['TextColor','BGColor'],
	['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
	['NumberedList','BulletedList'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock']
	];
*/
	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','Blockquote'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	['Link','Unlink','Anchor'],
	['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
	'/',
	['Styles','Format','Font','FontSize'],
	['TextColor','BGColor']
	];

	config.toolbar_SY = [
	['Source','-','SelectAll','Cut','Copy','Paste','PasteText','PasteFromWord','RemoveFormat','-','Undo','Redo','-','Find','Replace'],
	['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'],
	'/',
	['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
	['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	['Link','Unlink','Anchor'],
	'/',
	['Styles','Format','Font','FontSize'],
	['TextColor','BGColor']
	];

	config.toolbar_Basic = [
	['Source','-','Bold','Underline','Strike','Link','Unlink','-','Font','FontSize','TextColor','BGColor']
	];

};
