editor.txt.html('${model.content}');

wangEdit 富文本编辑器 回显数据问题

 


官方用单引号 但是回显的时候出错
如图

wangEdit 富文本编辑器 回显数据问题

 



解决方案
editor.txt.html(`${model.content}`);
使用波浪号 `` 反单引号
wangEdit 富文本编辑器 回显数据问题

 


正常显示
wangEdit 富文本编辑器 回显数据问题

 




相关文章:

猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2021-11-22
相关资源
相似解决方案