以前下载了飞鱼版本的 eWebEditor  编辑器, 可是 点击 “插入图片” 那个按钮
 没有任何反应,其他的也不行。。只能插入文字,而且在jsp 页面嵌入很多java代码。。
 感觉很乱,有没有高人 有这样的编辑器啊:界面还是那种 eWebEditor 界面, 
 jsp 页面的代码看上去少很多。。而且功能都有,插入图片,excel 等,最好是
 测试通过的。。给个链接,一定要是管用的。。 或者是自己用过的。。都可以。。
 正确后 。 马上给分。。

解决方案 »

  1.   

    fckeditor不是很好吗?2.6.6版本用着还行
      

  2.   

    你点击插入图片无效,一定用的是IE7以上,或是IE8,给你个解决无效的办法,你还是用飞鱼吧,挺好用的。方法:
    找到编辑器目录下include文件夹中的Editor.js文件,将其中的: if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");
    改为如下:
       if((navigator.appVersion.match(/MSIE 7./i)=='MSIE 7.' && navigator.appVersion.match(/Trident/i)=='Trident') || navigator.appVersion.match(/MSIE 8./i)=='MSIE 8.')
       {
          if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "onclick(event)");
       }else{
          if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");
       }上述方法在IE 6/7/8 测试通过。注:网上有类似的方法,但如果IE8运行在兼容模式下会无效,上述方法可以彻底解决。因为ie8 增加了兼容模型,当我们选择不同的兼容模型后,ie8的userAgent(下简称UA)就会发生变化,UA里的 MSIE 版本号会有直接的变化(显示为:IE 7)。为了可以让开发更加容易判断浏览器类型。ie8在UA里增加了 Trident 的标示。IE8 on Windows Vista (Compatibility View)
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0)IE8 on Windows Vista
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0)IE8 on Windows 7
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)64-bit IE on 64-bit Windows:
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Win64; x64; Trident/4.0)32-bit IE on 64-bit Windows:
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0)