star7th 8 anni fa
parent
commit
968dfaa2d7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 : true,//解析html
+    htmlDecode : "style,script,iframe",//解析html
     imageUpload: true,
     imageFormats: ["jpg", "jpeg", "gif", "png", "bmp", "webp", "JPG", "JPEG", "GIF", "PNG", "BMP", "WEBP"],
     imageUploadURL: "?s=home/page/uploadImg",