当前位置: 代码迷 >> ASP.NET >> 编辑器为啥不能用啊
  详细解决方案

编辑器为啥不能用啊

热度:8302   发布时间:2013-02-25 00:00:00.0
编辑器为什么不能用啊?
<iframe id="eWebEditor1" src="../../ycl/eWebEditor.htm?id=TextBox1&style=mini" frameborder="0"
  scrolling="no" width="550" height="350"></iframe>

------解决方案--------------------------------------------------------
不是项目必须用的话,建议不使用这个,这个都是10年前asp时代的文本编辑器了,out了!!


推荐使用xheditor、FCKEditor等其他的。

就你这个问题,不能用,有可能跟浏览器有关系,需要修改下配置文件

C# code
将webedit\Include\Editor.js 用记事本打开, 找到代码:  if (element.YUSERONCLICK) (element.YUSERONCLICK + "anonymous()"); 替换成如下代码:if(BrowserInfo.MajorVer>=8) {       if (element.YUSERONCLICK) (element.YUSERONCLICK + "onclick(event)");}else{      if (element.YUSERONCLICK) (element.YUSERONCLICK + "anonymous()"); }
------解决方案--------------------------------------------------------
没用过这个,我们用FCK
  相关解决方案