The assembly of the java ueditor project, when the calling component, binding function, listening contentchange follows:
um.addListener("contentChange",function(){
var content=UE.getEditor('editor').getContent();
$("#content").html(content);
});
When content changes, copy the data to get change, there is no problem, but when a single image upload, image upload calls a function in the process, after a successful upload pictures, there is no change, therefore, led to the emergence of the database only stores the "uploading" of HTML,
Modification method: