关于eWebEditor常见的问题及其个人使用心得
2010-09-16 08:46
671 查看
eWebEditor是个很好用的工具,见面也很好看。是一款很受欢迎的在线编辑器。现在我和大家分享一下我近期使用eWebEditor遇到的问题及其解决办法。(这里先声明,我使用的是飞鱼修改版的eWebEditor)
1.关于eWebEditor不兼容IE8的问题。
在网上查了一下,发现原因是这样的,因为ie8屏蔽了anonymous方法 所以要改成onclick方法。修改如下
打开include下面的editor.js文件,有这样的段代码:
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");
应该修改成:
if(sTemp.equals(""))
if(sTemp.equals(""))
String sUploadFilePath="jpkc/eWebEditor/UploadFile/";
b.修创建文件夹的路径:
在eWebEditor.jsp里修改这句话:
sStyleNameAdd=config.getServletContext().getRealPath("/")+ "jpkc/eWebEditor/" + sUploadFilePath +calendar.get(Calendar.YEAR) +
"/"+ (calendar.get(Calendar.MONTH)+1) +"/"+ calendar.get(Calendar.DAY_OF_MONTH)+"/";
到此,eWebEditor又可以上传文件和图片了。
虽然eWebEditor外观很好看,而且还有上传文件的功能,但是,它有如下缺陷:
1.它是收费的,所以公司做项目一般不用它。
2.它不支持火狐和opera浏览器。(FCKeditor就很强大啦。)
1.关于eWebEditor不兼容IE8的问题。
在网上查了一下,发现原因是这样的,因为ie8屏蔽了anonymous方法 所以要改成onclick方法。修改如下
打开include下面的editor.js文件,有这样的段代码:
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");
应该修改成:
if(sTemp.equals(""))
if(sTemp.equals(""))
String sUploadFilePath="jpkc/eWebEditor/UploadFile/";
b.修创建文件夹的路径:
在eWebEditor.jsp里修改这句话:
sStyleNameAdd=config.getServletContext().getRealPath("/")+ "jpkc/eWebEditor/" + sUploadFilePath +calendar.get(Calendar.YEAR) +
"/"+ (calendar.get(Calendar.MONTH)+1) +"/"+ calendar.get(Calendar.DAY_OF_MONTH)+"/";
到此,eWebEditor又可以上传文件和图片了。
虽然eWebEditor外观很好看,而且还有上传文件的功能,但是,它有如下缺陷:
1.它是收费的,所以公司做项目一般不用它。
2.它不支持火狐和opera浏览器。(FCKeditor就很强大啦。)
相关文章推荐
- 使用Apache Axis部署 Web服务时的常见问题及其解决方法
- 关于JavaWeb(一)——web介绍,tomcat与安装及其常见问题,虚拟目录及其配置虚拟主机
- 使用Apache Axis部署 Web服务时的常见问题及其解决方法
- 使用Apache Axis部署 Web服务时的常见问题及其解决方法
- 使用Apache Axis部署 Web服务时的常见问题及其解决方法
- 使用Axis部署Web服务时的常见问题及其解决方法(转)
- 使用Apache Axis部署 Web服务时的常见问题及其解决方法
- 使用Axis部署Web服务时的常见问题及其解决方法(转)
- 使用Apache Axis部署 Web服务时的常见问题及其解决方法(转)
- 使用Apache Axis部署 Web服务时的常见问题及其解决方法
- 使用Apache Axis部署 Web服务时的常见问题及其解决方法(IBM 官方文档)
- 使用Apache Axis部署 Web服务时的常见问题及其解决方法
- 关于WebView的总结2---使用方法及常见问题和解决方案汇总
- 关于Golang语言的web编程的实例及常见问题 推荐
- 关于破解ewebeditor V10.9 编辑器的问题
- 在MyEclipse中使用MyEclipse Javascript Editor的常见问题(持续更新)
- HighCharts常见使用问题总结(个人笔记)
- WebView使用详解及常见问题
- 关于DedeAMPZ整合包使用的常见问题说明
- 【WebView】Android WebView专栏——基本使用及常见问题