Update config.js

This commit is contained in:
邹景立 2021-09-16 14:31:02 +08:00
parent 311e095daa
commit f267f628c2

View File

@ -13,8 +13,8 @@ CKEDITOR.editorConfig = function (config) {
config.removeButtons = 'Underline,Subscript,Superscript';
config.removeDialogTabs = 'image:advanced;link:advanced';
// 内容过滤
config.allowedContent = {$1: {elements: CKEDITOR.dtd, attributes: true, styles: true, classes: true}};
config.disallowedContent = 'script; *[on*]';
config.allowedContent = {$1: {elements: CKEDITOR.dtd, attributes: true, styles: true, classes: true}};
config.font_names = '微软雅黑/Microsoft YaHei;宋体/SimSun;新宋体/NSimSun;仿宋/FangSong;楷体/KaiTi;黑体/SimHei;' + config.font_names;
};