Explorar o código

Update edit.js

star7th %!s(int64=8) %!d(string=hai) anos
pai
achega
5db056e9d0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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",