eWebEditor复制粘贴图片时过滤域名
2017-03-17 15:21
197 查看
1.找到form.js
路径:plugins/frame/scripts/form.js这个方法:
2.替换这个方法
/** * 处理参数 */ Form.prototype.processReqParam = function(){ for(var i = 0; i < this.formIds.length; i ++){ $("[route='" + this.formIds[i] + "']").find("iframe[tagName='webEditor']").each(function(j){ var linkId = $(this).attr("link"); var iframe = $(this)[0]; var value = iframe.contentWindow.document.getElementById("eWebEditor").contentWindow.document.body.innerHTML; var host = (window.location.protocol + "//" + window.location.host); value = $.string.replaceAll(value,host,""); $("#" + linkId).val(value); }); } };
相关文章推荐
- 10.20_web编辑器复制粘贴图片
- Ewebeditor 不能粘贴或复制的解决方法
- 关于eWebEditor突破上传图片大小限制的问题
- 把当前web页面上的所有图片复制到特定目录VBS完全修正版
- 编辑器eWebEditor不能插入图片解决办法
- 彻底解决ewebeditor网站后台不能上传图片的方法
- eWebeditor在IE8、IE9中插入图片按钮不能使用问题的解决方法
- 把当前web页面上的所有图片复制到特定目录
- 为什么图片看不见了呢 复制粘贴的不行嚒?
- eWebEditor V7.3 for asp.net版本编辑器带后台版本_新增加防止图片木马上传
- eWebEditor V7.3 for asp版本编辑器带后的破解码版本,新增加防止图片木马上传
- eclipse-解决直接在eclipse中复制,粘贴动态web项目并运行后,项目名字还是原来名字的问题
- eWebEditor的简单使用,不含图片
- 关于Coolite从Excel中粘贴记录复制到WEB中实现方法
- 解决eWebEditor上传图片提示:请选择一个有效的文件,支持的格式有(GIF|JPG|JPEG|BMP|PNG)!
- 原创:彻底解决 ewebeditor 图片上传大小问题
- 80给的获取ewebeditor编辑器中上传图片路径代码
- ewebeditor图片代码问题
- ewebEditor不能上传文件图片等解决办法(.net)
- 解决eWebEditor上传图片提示:请选择一个有效的文件,支持的格式有(GIF|JPG|JPEG|BMP|PNG)!