我不明白为什么,但我通过写这个解决了它:
this.quill.root.innerHTML = html;
而不是:
const quillContent = this.quill.clipboard.convert({ html: html }); this.quill.setContents(quillContent, 'silent');
在此处阅读 quillenter 代码的内容