Ueditor 文章编辑回显
// 回显的时候,我直接赋值给content
var ue = UE.getEditor('editor');
ue.ready(function() {
ue.setContent('${wa.content}');
});
改成
<input id='content' type='hidden' value='${wa.content}' />
ue.ready(function() {
ue.setContent($("#content").val());
});
参考博客:
https://blog.csdn.net/u014227715/article/details/73849403?utm_source=blogxgwz6