mirror of
https://github.com/codex-team/editor.js
synced 2024-06-07 08:22:16 +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> |
||
---|---|---|
.. | ||
block | ||
block-tunes | ||
errors | ||
events | ||
i18n | ||
inline-tools | ||
modules | ||
tools | ||
ui | ||
utils | ||
__module.ts | ||
blocks.ts | ||
core.ts | ||
dom.ts | ||
domIterator.ts | ||
flipper.ts | ||
polyfills.ts | ||
selection.ts | ||
utils.ts |