mirror of
https://github.com/codex-team/editor.js
synced 2024-06-29 10:50:23 +02:00
* 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> |
||
---|---|---|
.. | ||
assets | ||
api.md | ||
block-tunes.md | ||
caret.md | ||
CHANGELOG.md | ||
installation.md | ||
releases.md | ||
sanitizer.md | ||
toolbar-settings.md | ||
tools-inline.md | ||
tools.md | ||
usage.md |