df sdf sd fdsf sd
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
// 界面语言,默认为 'en'
config.language = 'zh-cn';
// 设置宽高
config.width = 1100;
config.height = 550;
config.toolbarGroups = [
{ name: 'insert', groups: [ 'insert' ] },
{ name: 'colors', groups: [ 'colors' ] },
{ name: 'links', groups: [ 'links' ] },
{ name: 'undo', groups: [ 'undo' ] },
{ name: 'tools', groups: [ 'tools' ] }
];
config.removeButtons = 'DocProps,Cut,Copy,Paste,PasteText,PasteFromWord,Find,Replace,Subscript,Superscript,Outdent,Indent,SpecialChar,Styles,Html5video,RemoveFormat,Source,Font,FontSize';
// config.removeButtons= 'Emojione';
config.extraPlugins = 'codesnippet';
config.codeSnippet_theme = 'pojoaque';
// 背景颜色
// config.uiColor = '#fff';
// 工具栏(基础'Basic'、全能'Full'、自定义)plugins/toolbar/plugin.js
//config.toolbar = 'Basic';
// config.toolbar = 'Full';
//主题
// config.theme = 'default';
//撤销的记录步数 plugins/undo/plugin.js
config.undoStackSize =20;
// 在 CKEditor 中集成 CKFinder,注意 ckfinder 的路径选择要正确。
//CKFinder.SetupCKEditor(null, '/ckfinder/');
};