Update config.js

This commit is contained in:
Anyon 2022-03-01 15:04:01 +08:00
parent 6248c7c510
commit 4d1ff2c46a

View File

@ -5,11 +5,12 @@ CKEDITOR.editorConfig = function (config) {
{name: 'styles', items: ['Font', 'FontSize']}, {name: 'styles', items: ['Font', 'FontSize']},
{name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'RemoveFormat', 'TextColor', 'BGColor', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'NumberedList', 'BulletedList']}, {name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'RemoveFormat', 'TextColor', 'BGColor', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'NumberedList', 'BulletedList']},
{name: 'element', items: ['Link', 'Unlink', 'Table', 'UploadImage', 'UploadMusic', 'UploadVideo', 'UploadHtml']}, {name: 'element', items: ['Link', 'Unlink', 'Table', 'UploadImage', 'UploadMusic', 'UploadVideo', 'UploadHtml']},
{name: 'tools', items: ['ExportPdf', 'Print', 'Maximize']} {name: 'tools', items: ['Print', 'Maximize']}
]; ];
config.language = 'zh-cn'; config.language = 'zh-cn';
config.format_tags = 'p;h1;h2;h3;pre'; config.format_tags = 'p;h1;h2;h3;pre';
config.extraPlugins = 'uimage,umusic,uhtml,uvideo'; config.extraPlugins = 'uimage,umusic,uhtml,uvideo';
config.removePlugins = 'easyimage,cloudservices,exportpdf';
config.removeButtons = 'Underline,Subscript,Superscript'; config.removeButtons = 'Underline,Subscript,Superscript';
config.removeDialogTabs = 'image:advanced;link:advanced'; config.removeDialogTabs = 'image:advanced;link:advanced';
// 内容过滤 // 内容过滤