Open mcya opened 7 years ago
var dataSource = {}
dataSource.values = editor.html()
var chuliData = "<div>"+String(dataSource.values)+"</div>"
var imgArr = chuliData.split("<img")
for (var i = imgArr.length - 1; i >= 1; i--) {
chuliData = chuliData.replace('/eac-core/res/kindeditor/handler/showImage.jsp?path', '/page/getImgForNews.jsp?photoUrl');
}
上传回调