js中引入的版本: <script type="text/javascript" src="ueditor1_3_6-utf8-jsp/ueditor.config.js"></script> <script type="text/javascript" src="ueditor1_3_6-utf8-jsp/ueditor.all.min.js"></script> <script type="text/javascript" src="ueditor1_3_6-utf8-jsp/lang/zh-cn/zh-cn.js"></script>
var ue = UE.getEditor('act_cnt',{imageUrl: 项目根路径/CommonFileUpload/ueditor-upload.action"} );
后台使用的是springmvc,接收图片的url: 项目根路径+/CommonFileUpload/ueditor-upload.action
注: 这里版本选择还是很重要的。
这样就可以将ueditor默认的图片地址改用自定义的接口接收。
本文介绍如何在UEditor中配置自定义图片上传接口,并通过SpringMVC接收上传的图片。文章详细展示了如何引入特定版本的UEditor文件及配置图片上传路径。
927

被折叠的 条评论
为什么被折叠?



