收藏
回答

editor-portal 自定义块插入删除后, redo无法恢复显示

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug editor-portal 工具 8.0.57 3.8.4

在Editor组件使用editor-portal渲染自定义块内容,插入块后,然后再删除,无法用EditorContext.redo或者ctrl+z恢复内容显示, 普通文字内容可以恢复。

https://developers.weixin.qq.com/miniprogram/dev/component/editor-portal.html

使用官方文档中下面的示例代码可以复现

回答关注问题邀请回答
收藏
登录 后发表内容