小程序
小游戏
企业微信
微信支付
扫描小程序码分享
在Editor组件使用editor-portal渲染自定义块内容,插入块后,然后再删除,无法用EditorContext.redo或者ctrl+z恢复内容显示, 普通文字内容可以恢复。
https://developers.weixin.qq.com/miniprogram/dev/component/editor-portal.html
使用官方文档中下面的示例代码可以复现
加粗
标红
插入代码
插入链接
插入图片
上传视频
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号