ueditor 版本为1.3.6  项目版本为2.0

引用

<script src="../ueditor/ueditor.config.js" type="text/javascript" charset="utf-8"></script>
<script src="../ueditor/ueditor.all.js" type="text/javascript" charset="utf-8"></script>
<script src="../ueditor/lang/zh-cn/zh-cn.js" type="text/javascript" charset="utf-8"></script>

ueditor.config.js 和ueditor.all.js顺序一定要颠倒否则不显示编辑器

用法

<textarea >

UE.getEditor('txtContainer')
</script>

当我点击上传图片 选择本地图片 点击上传  提示我:请等待请在选择目录,记得在原来我用1.2.4的时候没遇到过这个问题,当时以为是路径不对

请看 http://www.cnblogs.com/freexiaoyu/archive/2012/10/19/2731027.html 修改完这三个文件路径问题还是一样提示

在网上找到有人说修改ueditor/dialogs/image/image.html 里面的JS  依然没有解决

还有人说修改ueditor/net/imageUp.ashx 

头部文件删除  还是不行

<%@ Assembly Src="Uploader.cs" %>
<%@ Assembly Src="Config.cs" %>

 

突然想是不是我的项目版本太老不支持 ,直接右键属性将项目修改为4.0 在次运行,我X好了,看来有些语法在2.0不支持啊,这一个问题搞了大半天 哎....

相关文章:

  • 2022-02-19
  • 2021-11-27
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
  • 2021-12-14
猜你喜欢
  • 2022-02-28
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2021-06-20
  • 2021-11-30
相关资源
相似解决方案