Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listener added for a 'DOMNodeInserted' mutation event. This event type is deprecated, and will be removed from this browser very soon. Usage of this event listener will cause performance issues today, and represents a large risk of future site breakage #983

Open
Ali-Milani-13 opened this issue Jun 18, 2024 · 3 comments

Comments

@Ali-Milani-13
Copy link

Hello.
I've noticed, when you use react-quill it gives me the warning that I've mentioned in the title. according to this issue(3806) in the quill.js repo, it has been fixed in the version 2.0.0 of the quill js.
however, this issue is still present in the react-quill.

according to the react-quill source code, this warning, comes from this part of the code:

    _this.domNode.addEventListener('DOMNodeInserted', function () {});

which is located at quill/dist/quill.js. I suppose, react-quill, uses the older version of the quill.js

@VaguelySerious
Copy link

VaguelySerious commented Jul 21, 2024

This repository is not being maintained, so I'm maintaining a fork in the interim. Have you tried replacing react-quill with the forked react-quill-new? The fork updates the underlying Quill dependency that uses the deprecated event. Also follow #973 for updates on that.

@you-sunshine
Copy link

怎么处理这个问题呢,急救

@VaguelySerious
Copy link

@you-sunshine 您试过使用我的react-quill-new吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants