editor.js/src/components/modules
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
..
api feat(toolbar-api): method for toggling toolbox (#2332) 2023-04-13 20:02:46 +03:00
toolbar chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
blockEvents.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
blockManager.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
blockSelection.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
caret.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
crossBlockSelection.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
dragNDrop.ts Fix BlockManager.setCurrentBlockByChildNode() with multiple Editor.js instances 2021-02-17 18:01:28 +03:00
index.ts Use Vite builder (#2300) 2023-04-13 22:25:29 +03:00
modificationsObserver.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
paste.ts deps(TypeScript) - upgrade to v5, upgrade ts-loader, fix types error, fix pasteConfig getter wrapper (#2322) 2023-04-02 16:52:42 +01:00
readonly.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
rectangleSelection.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
renderer.ts Use Vite builder (#2300) 2023-04-13 22:25:29 +03:00
saver.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
tools.ts Use Vite builder (#2300) 2023-04-13 22:25:29 +03:00
ui.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00