环境 ueditor1_3_5-gbk-net .NET版本3.5

如果把项目直接改成4.0不会出现这样的问题,查看

问题1:正在读取目录

  找到ueditor/ueditor.config.js  找到 savePath 去掉注释就解决了

问题2:上传图片提示网络链接错误

  删除 ueditor/net/web.config

  修改imageUp.ashx

context.Response.Write(String.Format("updateSavePath([{0}]);", String.Join(", ", Config.ImageSavePath.Select(x => "\"" + x + "\""))));

修改为以下 因为在3.5下面没有访问方法

  context.Response.Write(String.Format("updateSavePath([{0}]);", String.Join(", ", Config.ImageSavePath.Select(x => "\"" + x + "\"").ToArray())));

到这就成功了

相关文章:

  • 2021-12-10
  • 2021-08-17
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
猜你喜欢
  • 2022-01-08
  • 2021-09-26
  • 2022-12-23
  • 2021-06-24
  • 2022-01-09
  • 2021-08-22
  • 2021-05-18
相关资源
相似解决方案