html代码:
<input type="button" id="J_selectImage" value="图片上传" /> <div id="J_imageView"> <"img_view"><img class='iYuUpload-View' src='/Uploads/<"view_del"id="<"id"]"><img delTarget="p_<" src="/UploadFiles/2021-04-02/close_delete_2.png">JS代码:<script> function clearUploadPic(i,obj){ $("input[preImagePathId="+i+"]").val(""); $("input[preThumbPathId="+i+"]").val(""); obj.remove(); } KindEditor.ready(function(K) { window.editor = K.create('#editor_id', { height:'500px', uploadJson: '<"img_view"><img src="/UploadFiles/2021-04-02/' + data.url + '">以上这篇Kindeditor单独调用多图上传实例就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。