Explorar el Código

Merge branch 'wrdp' into 'develop'

Wrdp

See merge request o2oa/o2oa!2058
蔡祥熠 hace 5 años
padre
commit
ccd60bcbb7
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      o2web/source/x_component_Template/MDomItem.js

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

@@ -2597,7 +2597,8 @@ MDomItem.Rtf = new Class({
                 "enterMode": 1,
                 "enterMode": 1,
                 //"height": "200",
                 //"height": "200",
                 //"width": "",
                 //"width": "",
-                "readOnly": false
+                "readOnly": false,
+                "extraAllowedContent " : "img{onerror}"
             };
             };
             if( this.options.RTFConfig ){
             if( this.options.RTFConfig ){
                 editorConfig = Object.merge( editorConfig, this.options.RTFConfig )
                 editorConfig = Object.merge( editorConfig, this.options.RTFConfig )