editor组件使用setcontents设置列表时无效?

发布于 7 年前作者 gongwei11292 次浏览最后编辑 7 年前来自 ask

富文本显示如下

editor打开后,加粗有显示,但是列表就不显示了

html

<ol><li>asdf<strong>adfas</strong></li><li><strong>a</strong></li><li><strong>a</strong></li><li><strong>sadf</strong></li></ol>

js

setContents(html){
    this.editorCtx.setContents({
				    html: html
    });
  }
1 回复
epeng
epeng1 楼5 年前

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。