2017年1月15日 17:56:19
操作:更新错误
准备工作:UEdiotr
1、解压复制文件夹至web根目录,可以移动App_Code也可不移动
2、不要修改ueditor.config.js 此处正确做法应该是将“接口路径”指向ashx文件
3、修改config.json
4、测试上传是否可用
备注:
<!DOCTYPE HTML>
<html lang="en-US"> <head> <meta charset="UTF-8"> <title>ueditor demo</title> </head> <body> <!-- 加载编辑器的容器 --> <script id="container" name="content" type="text/plain"> 这里写你的初始化内容 </script> <!-- 配置文件 --> <script type="text/javascript" src="ueditor.config.js"></script> <!-- 编辑器源码文件 --> <script type="text/javascript" src="ueditor.all.js"></script> <!-- 实例化编辑器 --> <script type="text/javascript"> var ue = UE.getEditor('container'); </script> </body> </html>
该解决方案根据 飞鸟愿^_^ 小姐姐博客试验后修改得出,小姐姐这篇博客地址 http://www.cnblogs.com/bibi-feiniaoyuan/p/5807040.html