解决的方法就是在render方法中设置src为一个代理页面,或者javascript伪协议,例如:
代码如下container.firstChild.src = "javascript:void((function(){document.open();document.domain=""+document.domain+"";
document.write("");document.close()})())";
弹出的dialog则需要在dialogsinternal.js 里也加上:
代码如下document.domain = "根域";
[document.domin 跨域]document.domain会导致ueditor拒绝访问解决办法
http://m.bbyears.com/wangyezhizuo/36675.html
推荐访问: