Uncaught TypeError: Cannot read property ‘getRange’ of undefined
原因:
ueditor设置已保存的html出错。
解决方法:
把
ueIntroduction.execCommand(‘inserthtml’, itemDto.introduction);
改成
//编辑器赋值
ueIntroduction.ready(function () {
ueIntroduction.execCommand(‘inserthtml’, itemDto.introduction);
});