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

CKEDITOR.editorConfig = function (config) {
    config.language = 'zh-cn';
    config.skin = "v2";
    config.contentsCss = "../skin/viewStandard.css";
    config.toolbarCanCollapse = false;
    config.resize_enabled = false;
    config.extraPlugins = 'tableresize';
    config.removePlugins = 'elementspath';
    config.enterMode = CKEDITOR.ENTER_BR;
    config.shiftEnterMode = CKEDITOR.ENTER_P;
    config.pasteFromWordRemoveStyles = true;
    config.image_previewText = " ";
    config.filebrowserImageUploadUrl = "../view/ckeUpload.aspx?type=image";
    config.startupFocus = true;
    config.toolbar = [['Font', 'FontSize'], ['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'Indent', 'Outdent'], ['TextColor', 'Link', 'Table', 'Image', 'Flash', 'Smiley', 'RemoveFormat', 'Source']];
    config.toolbar_basic = [['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft', 'JustifyCenter', 'JustifyRight']];
    config.toolbar_formDesign = [['Styles', 'Format', 'Font', 'FontSize', 'Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'Indent', 'Outdent', 'TextColor', 'BGColor'], 
['Cut', 'Copy', 'Paste', 'PasteText', 'Link', 'Table', 'Image', 'Flash', 'Smiley', 'SpecialChar', '-', 'Checkbox', 'Radio', 'TextField', 'Button', 'HiddenField', '-', 'Undo', 'Redo', 'Find', 'Replace', 'SelectAll', 'RemoveFormat', 'Maximize', 'Source']];
};
