ewebeditor编辑器在ie浏览器 ,ie8 ,ie7 ,maxthon下有有错误的解决方法: 找到include文件夹下的editor.js文件 找到: if(element.YUSERONCLICK)eval(element.YUSERONCLICK + “anonymous()”); if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()"); 替换为: try{ if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “anonymous()”); } catch(e){ if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “onclick(event)”); } try{ if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()"); } catch(e){ if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "onclick(event)"); }

评论