/*
Copyright (c) 2003-2013, 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.language = 'zh-cn'; // 配置语言
	config.uiColor = 'white';
	config.toolbar = 'MyToolbar';//把默认工具栏改为‘MyToolbar’      
    config.toolbar_MyToolbar =      
	    [      
['Cut','Copy','Paste','PasteText','PasteFromWord'],
['Find','Replace','-','SelectAll','RemoveFormat'],
['Table','Smiley'],
['Styles','Format'],
['Bold','Italic','Strike']
	    ];      


	// Remove some buttons provided by the standard plugins, which are
		// not needed in the Standard(s) toolbar.
		    config.removeButtons = 'Underline,Subscript,Superscript';
		    CKEDITOR.config.removePlugins='elementspath';
		    // Set the most common block elements.
		    config.format_tags = 'p;h1;h2;h3;pre';
		    config.image_previewText='';

		    // Simplify the dialog windows.
		    config.removeDialogTabs = 'image:advanced;link:advanced';
		    config.filebrowserBrowseUrl = 'plugin/ckfinder/ckfinder.html';
		    config.filebrowserImageBrowseUrl = 'plugin/ckfinder/ckfinder.html?type=Images';
		    config.filebrowserFlashBrowseUrl = 'plugin/ckfinder/ckfinder.html?type=Flash';
		    config.filebrowserUploadUrl = 'plugin/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Files';
		    config.filebrowserImageUploadUrl = 'plugin/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Images';
		    config.filebrowserFlashUploadUrl = 'plugin/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Flash';
};
