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

MutationObserver will be triggered by ContentModel frequently #2645

Open
haven2world opened this issue May 17, 2024 · 0 comments
Open

MutationObserver will be triggered by ContentModel frequently #2645

haven2world opened this issue May 17, 2024 · 0 comments
Assignees

Comments

@haven2world
Copy link
Contributor

Describe the bug
MutationObserver is frequently triggered by Dom created/removed during Content Model conversion, and actually these Dom changes don't happen actually, they're just refreshed by Content Model. But our callback in the observer will be executed and also cause performance issue. We'd like to have an api to listen to the real content model change

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

2 participants