mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 09:52:36 +02:00
8138ce95b2
* fix isMutationBelongsToElement function: make it return true if the whole text node is deleted inside of some descendant of the passed element * isMutationBelongsToElement function shouldn't return true if some of the ancestors of the passed element were added or deleted, only if the element itself * add test case verifying that 'onChange' is fired when the whole text inside some nested descendant of the block is removed * replace introduced dependency with ToolMock * add comment explaining isMutationBelongsToElement behaviour in case of adding/removing the passed element itself * fix formatting * added some more explanation * added record to the changelog --------- Co-authored-by: Peter Savchenko <specc.dev@gmail.com> |
||
---|---|---|
.. | ||
components | ||
styles | ||
tools/stub | ||
types-internal | ||
codex.ts | ||
env.d.ts |