使用ueditor中的setContent() 时经常报innerHtml错误(笔记)

1)今天遇到个问题,使用ueditor中的setContent() 时经常报innerHtml错误;
网上找了下解决方案:发现这个可以用:

不能创建editor之后马上使用ueditor.setContent('文本内容');
要等到创建完成之后才可以使用

ueditor.addListener("ready", function () {
// editor准备好之后才可以使用
ueditor.setContent('abc');

});
原文地址:https://www.cnblogs.com/fengri/p/3410067.html