瀏覽代碼

Update edit.js

star7th 8 年之前
父節點
當前提交
5db056e9d0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Public/js/page/edit.js

+ 1 - 1
Public/js/page/edit.js

@@ -112,7 +112,7 @@ $(function() {
     tex: true, // 默认不解析
     flowChart: true, // 默认不解析
     sequenceDiagram: true, // 默认不解析
-    htmlDecode : false,//解析html
+    htmlDecode : "style,script,iframe,sub,sup|*",//解析html
     imageUpload: true,
     imageFormats: ["jpg", "jpeg", "gif", "png", "bmp", "webp", "JPG", "JPEG", "GIF", "PNG", "BMP", "WEBP"],
     imageUploadURL: "?s=home/page/uploadImg",