项目作者: yanglingyun001

项目描述 :
ueditor,springboot,springmvc
高级语言: Java
项目地址: git://github.com/yanglingyun001/yyb-ueditor.git
创建时间: 2019-12-10T06:35:28Z
项目社区:https://github.com/yanglingyun001/yyb-ueditor

开源协议:

下载


yyb-ueditor

可直接使用yyb-ueditor_1.1.2.jar
也可以使用源码

config.json可以放到classpath下,要做小修改

“fileManagerListPath”: “/ueditor/jsp/upload/file/“
修改为
“fileManagerListPath”: “ueditor/jsp/upload/file/“
其它类似地方,做相同修改,访问前缀最好也改一下

上传类配置
ueditor.config.js中
// 服务器统一请求接口路径修改为自己的URL
serverUrl: “/ueditor/controller”

@ResponseBody
@RequestMapping(“/controller”)
public String umeditor(HttpServletRequest request,@RequestParam(value = “upfile”,required = false) MultipartFile file) throws IOException {
IUploader iUploader = 实现类,自己随意写,可传到第三方云
return new ActionEnter(request,getWebRootDir(),null,iUploader,file).exec();
}