Describe the bug
用 this.$refs.myQuillEditor.quill.clipboard.dangerouslyPasteHTML(range || 0, <b style="color:blue;background:#ccc;cursor: pointer;">创建标签</b>)
这个api来向编辑器插入自定义元素后,再向编辑器输入内容,输入的内容在插入的自定义元素里不在p标签里
作者可以试一下,或者有其他的api可以解决吗
Reproduction
~~
System Info
Used Package Manager
npm
Validations
Describe the bug
用 this.$refs.myQuillEditor.quill.clipboard.dangerouslyPasteHTML(range || 0,
<b style="color:blue;background:#ccc;cursor: pointer;">创建标签</b>)这个api来向编辑器插入自定义元素后,再向编辑器输入内容,输入的内容在插入的自定义元素里不在p标签里
作者可以试一下,或者有其他的api可以解决吗
Reproduction
~~
System Info
~~Used Package Manager
npm
Validations