react-quill报错Listener added for a ‘DOMNodeInserted‘ mutation event.Support for this event type has..

1、删除node_modules 和 package-lock.json

2、重装依赖 npm i

3、找 node_modules 中 quill ==》 dist ==》 quill.js 文件中 修改代码

// _this.domNode.addEventListener('DOMNodeInserted', function () {});
    new MutationObserver(() => {}).observe(_this.domNode, { childList: true });
react-quill报错Listener added for a ‘DOMNodeInserted‘ mutation event.Support for this event type has.._第1张图片
4、启动项目 npm run start 

你可能感兴趣的:(插件,react.js,前端)