UEditor配置版本为:ueditor1_3_6-utf8-net,放置目录为:/UEditor
一、/UEditor/ueditor.config.js文件需要设置:
1、URL修改为:var URL = "/UEditor/";
2、, savePath: ['upload1', 'upload2', 'upload3']的注释去掉。(错误提示:上传图片对话框一直显示“正在读取目录...”)
二、/UEditor/net/fileUp.ashx和/UEditor/net/scrawlUp.ashx文件下的代码删除。(错误提示:网络错误500)
<%@ Assembly Src="Uploader.cs" %>
/UEditor/net/imageUp.ashx文件下的代码删除。(错误提示:网络链接错误,请检查配置后重试)
<%@ Assembly Src="Uploader.cs" %>
<%@ Assembly Src="Config.cs" %>
三、/UEditor/net/Uploader.cs文件下的代码删除。(上传文件路径修正)
pathbase = pathbase + "/";