瀏覽代碼

修复CKEditor服务器改变后不显示的问题

unknown 5 年之前
父節點
當前提交
a46eb774d0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      o2web/source/x_component_Template/MDomItem.js

+ 1 - 1
o2web/source/x_component_Template/MDomItem.js

@@ -2598,7 +2598,7 @@ MDomItem.Rtf = new Class({
                 //"height": "200",
                 //"width": "",
                 "readOnly": false,
-                "extraAllowedContent " : "img{onerror}"
+                "extraAllowedContent " : "img[onerror,data-id]"
             };
             if( this.options.RTFConfig ){
                 editorConfig = Object.merge( editorConfig, this.options.RTFConfig )