amis
amis copied to clipboard
富文本工具栏 选择 formatselect 等无效
描述问题:
当富文本options为空的时候,工具栏显示是正常的,在鼠标选中其他组件后重新选中富文本后,options自动填充,但是再也无法出现段落、字体、字号选择工具栏,这个问题稳定复现,包括 https://aisuda.github.io/amis-editor-demo/#/hello-world demo页面
截图或视频:
可以的话,尽可能提供截图或视频来补充描述你的问题...
如何复现(请务必完整填写下面内容):
当富文本options为空的时候,工具栏显示是正常的,在鼠标选中其他组件后重新选中富文本后,options自动填充,但是再也无法出现段落、字体、字号选择工具栏,这个问题稳定复现,包括 https://aisuda.github.io/amis-editor-demo/#/hello-world demo页面
{
"type": "page",
"body": [
{
"type": "input-rich-text",
"label": "富文本",
"name": "rich-text",
"vendor": "tinymce",
"id": "u:7ad05c1e816f",
"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
}
}
],
"asideResizor": false,
"pullRefresh": {
"disabled": true
}
}
- 操作步骤 请简单描述一下复现的操作步骤...
👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.