wangEditor
wangEditor copied to clipboard
@wangeditor/editor-for-vue中的Editor组件开始是<strong>标签时页面卡死报错
bug 描述
@wangeditor/editor-for-vue中的Editor组件开始是标签时页面卡死报错
你预期的样子是?
组件正常显示,回显富文本
系统和浏览器及版本号
- 操作系统:win10
- 浏览器和版本: chrome
wangEditor 版本
"@wangeditor/core": "^1.0.1", "@wangeditor/editor": "^5.0.1", "@wangeditor/editor-for-vue": "^5.1.11",
demo 能否复现该 bug ?
能
在线 demo
- https://stackblitz.com/edit/vue3-wangeditor-demo?file=src%2Fcomponents%2FBasicEditor.vue
最小成本的复现步骤
BasicEditor.vue中第51行 const valueHtml = ref('
hello
'),改为 const valueHtml = ref('hello'); 页面必然报错
遇到同样的问题,富文本内容我传递”院办“,结果报错