// 回显的时候,我直接赋值给content


var ue = UE.getEditor('editor');

    ue.ready(function() {
     ue.setContent('${wa.content}');

 });

Ueditor 的坑,文章编辑回显

Ueditor 的坑,文章编辑回显


显示就成这样了。


我改成这样,就好了~,醉了~

  <input id='content' type='hidden'  value='${wa.content}' />

  ue.ready(function() {
      ue.setContent($("#content").val());
  });




相关文章: