editor.js/src/components/utils
Peter Savchenko b7b00fd060
chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349)
* block onchange stash

* improve block filtration

* update tool root

* chore(block): remove willSelect und willUnselect

* onchange events batching

* get rid of CustomEvent extension, create custom event map instead

* improve types of EventsDispatcher

* fix tests

* custom sinon + chai matchers

* improve tests, add mutex for fake cursor

* add test for fake-cursor mutex

* test for batch filtering

* fix caret setting by enter press at the end of the block

* test for detectToolRootChange

* remove resolved todos

* changelog added

* fix tests

* Update CHANGELOG.md

* rename FakeCursorAboutToBeSet -> FakeCursorAboutToBeToggled

* update didMutated statements

* move inputs cache clearing to a separate method

* rm Record inheritance from Event maps

* add type alisases

* rename isElementContainsFakeCursor ->  isFakeCursorInsideContainer

* improve code style
2023-05-12 20:50:48 +03:00
..
popover chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
events.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
listeners.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
mutations.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
notifier.ts refactoring: notifier is util now (#1628) 2021-04-15 20:20:21 +03:00
resolve-aliases.ts fix(tunes): Make label an alias for title in tunes menu item (#2198) 2022-12-14 23:46:36 +03:00
sanitizer.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
scroll-locker.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
shortcuts.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
tooltip.ts feat(toolbar): toolbar refactored and ui improved (#1815) 2021-11-24 21:14:24 +03:00