Skip to content

Conversation

@neSpecc
Copy link
Member

@neSpecc neSpecc commented Jun 22, 2023

For now, data-mutation-free works only on addedNodes and removedNodes of a mutation record. This PR also adds a support for "attributes" mutation type — we need to check record target as well.

For example, Table tool fires unnecessary onChange callings (See editor-js/table#125) when hovering on a table cells. That is fixed by adding a data-mutation-free attribute. But that fix requires this PR to be merged

image

@neSpecc neSpecc merged commit 9e64003 into next Jun 22, 2023
@neSpecc neSpecc deleted the fix/onchange-mutation-free-attribute branch June 22, 2023 17:42
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

Successfully merging this pull request may close these issues.

4 participants