1.配置Ueditor
config.json 文件
"mageUrlPrefix": "http://img.yedu123.com", /* 图片访问路径前缀 */
2.引入阿里OSS上传类
3.修改相对应的Ueditor上传方法
4.如需要给OSS绑定域名,则修改1对应的域名
5.如需要抓取图片,则修改ueditor.config.js,如下
,catchRemoteImageEnable: true //设置是否抓取远程图片
1.配置Ueditor
config.json 文件
"mageUrlPrefix": "http://img.yedu123.com", /* 图片访问路径前缀 */
2.引入阿里OSS上传类
3.修改相对应的Ueditor上传方法
4.如需要给OSS绑定域名,则修改1对应的域名
5.如需要抓取图片,则修改ueditor.config.js,如下
,catchRemoteImageEnable: true //设置是否抓取远程图片