 
CKEDITOR.editorConfig = function( config )

{

// Define changes to default configuration here. For example:

// config.language = 'zh-cn'; //配置语言

//config.uiColor = '#FFF'; //背景颜色

//config.width = 500; //宽度

//config.height = 300; //高度
config.language = 'zh-cn';
  config.skin = 'v2'; 

config.enterMode = CKEDITOR.ENTER_BR;
 config.font_names = 'Arial;Times New Roman;Verdana;宋体;楷体;黑体;'; 

 config.resize_enabled = true; 

 
  
 config.toolbar = 'Default';
config.toolbar_Default =
[
['Source','-','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','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Maximize', 'ShowBlocks','-','About']
];


  config.font_style = {
        element   : 'span',
        styles   : { 'font-family' : '#(family)' },
        overrides : [ { element : 'font', attributes : { 'face' : null } } ]
    }; 


config.toolbar = 'Simple';
config.toolbar_Simple =
[
	['Source','-','Cut','Copy','Paste','PasteText','-','Undo','Redo','Find','Replace','-','SelectAll','RemoveFormat','-','Image','Table','-','Link','Unlink','-','TextColor','BGColor','Smiley'],
] ;


config.toolbar = 'UserMode';
config.toolbar_UserMode =
[
	['Source','NewPage','Preview','-','Cut','Copy','Paste','PasteText','PasteWord','-','Undo','Redo','Find','Replace','-','SelectAll','RemoveFormat','-','Image','Flash','Table','Rule'],
	['Bold','Italic','Underline','OrderedList','UnorderedList','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','Link','Unlink','Anchor','TextColor','BGColor','PageBreak','FitWindow'],
	//'/',
	['Style','FontFormat','FontName','FontSize','Smiley','RemoteUpload']
] ;
 config.smiley_images= ['em00.gif','em01.gif','em02.gif','em03.gif','em04.gif','em05.gif','em06.gif','em07.gif','em08.gif','em09.gif','em10.gif','em11.gif','em12.gif','em13.gif','em14.gif','em15.gif','em16.gif','em17.gif','em18.gif','em19.gif','em20.gif','em21.gif','em22.gif','em23.gif','em24.gif','em25.gif','em26.gif','em27.gif','em28.gif','em29.gif','em30.gif','em31.gif'] ;

};
