amis 富文本组件tinymce相关报错,TypeError: Cannot read properties of undefined (reading 'select')

jjhzyzn0  于 5个月前  发布在  其他
关注(0)|答案(2)|浏览(52)
描述问题:

富文本组件有图片的情况下报错,有时报错,有时不报错,出现频率较高

截图或视频:

如何复现(请务必完整填写下面内容):
  1. 你是如何使用 amis 的?
    vue项目中使用,参考vue2-amis-demo这个项目做的
  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在3.
    3.4.0-beta.12
  3. 粘贴有问题的完整 amis schema 代码:
{
  "type": "input-rich-text",
  "label": "富文本",
  "name": "background",
  "id": "u:6d7a2fb5dfa6",
  "vendor": "tinymce",
  "options": {
    "plugins": "advlist,autolink,link,image,lists,charmap,preview,anchor,pagebreak,searchreplace,wordcount,visualblocks,visualchars,code,fullscreen,insertdatetime,media,nonbreaking,table,emoticons,template,help",
    "toolbar": "undo redo formatselect bold italic backcolor alignleft aligncenter alignright alignjustify bullist numlist outdent indent removeformat help",
    "menubar": true
  },
  "receiver": {
    "url": "${window:location.origin}/xxxxx",
    "method": "post",
    "requestAdaptor": "",
    "adaptor": "",
    "messages": {
    }
  }
}
  1. 操作步骤
    富文本坐在的form表单是在drawer抽屉里,富文本中有图片,点击列表中的不同的行,打开抽屉,有时会出现上面截图中的报错
mwkjh3gx

mwkjh3gx1#

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

wswtfjt7

wswtfjt72#

我再确认一下版本

相关问题