解决方案:
不能创建editor之后马上使用ueditor.setContent('文本内容');
要等到创建完成之后才可以使用
ueditor.addListener("ready", function () {
// editor准备好之后才可以使用
ueditor.setContent('abc');
});
解决方案:
不能创建editor之后马上使用ueditor.setContent('文本内容');
要等到创建完成之后才可以使用
ueditor.addListener("ready", function () {
// editor准备好之后才可以使用
ueditor.setContent('abc');
});