操作步骤:
1, 将 ueditor 复制到你的项目中
2, 将 lib 下面的四个 jar 文件添加你的项目中
3, 如果你的项目是 maven 项目需要在 pom 文件中添加如下依赖
- <dependency>
- <groupId>org.webjars.bower</groupId>
- <artifactId>ueditor</artifactId>
- <version>1.4.3</version>
- </dependency>
4, 修改 jsp 文件下的 config.json 的 ordermealsys 字符串为你的项目名称即可 (选择查找批量替换)
5, 安上面操作方法集成进去保证无 bug, 支持图片上传 视频上传 支持在线图片预览, 无需自己调
备注: 无需添加实例. jsp 文件到你的项目当中
来源: https://www.2cto.com/kf/201804/739290.html