ueditor的使用及常见问题

阅读更多

 1、js错误:“wordCountMsg”对象为null或未定义,UEDITOR_HOME_URL的路径设置不正确,此处应该设置为editor所在的路径。
2、当与struts2一起使用的时候,图片上传不成功,hashNext()为false,要在struts.xml配置文件中设置,struts2.0是struts.action.extension的值,struts2.1以上是struts.action.excludepattern的值。或者可以自定义过滤器
3、上传成功了但是在文本框中没显示,设置editor_config.js中imageUrl的路径。
4、出现乱码:在struts中设置统一编码""

5、ueditor目录上有红叉表示文件编码有问题,右击properties设置下就可以了。

6、ueditor文件下载见http://download.csdn.net/detail/lihong22/7105829,因为这里不能上传超过10M的文件,说实话,真麻烦。。。。

<% String baseURL = request.getContextPath(); %>
<%--ueditor编辑器文件--%>
 
 
 

 


	  struts2 
	  com.common.MyStrutsFilter 
  

   

  • Uploader.zip (2.5 KB)
  • 下载次数: 23
  • ueditor的使用及常见问题_第1张图片
  • 大小: 24.1 KB
  • MyStrutsFilter自定义过滤器java类.zip (535 Bytes)
  • 下载次数: 18
  • 查看图片附件

你可能感兴趣的:(ueditor的使用及常见问题)