editor.js/src/components
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
..
block chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
block-tunes fix(move-up-tune): scroll up offset for blocks above viewport (#2298) 2023-03-14 00:09:04 +03:00
errors Release: 2.19 (#1364) 2020-10-13 20:50:46 +03:00
events chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
i18n chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
inline-tools feat(icons): codex icons package is used instead of svg sprite (#2173) 2022-11-25 22:26:23 +04:00
modules chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
tools deps(TypeScript) - upgrade to v5, upgrade ts-loader, fix types error, fix pasteConfig getter wrapper (#2322) 2023-04-02 16:52:42 +01:00
ui chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
utils chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
__module.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
blocks.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
core.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
dom.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
domIterator.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
flipper.ts fix(block-events): split block with removing of selected text fragment (#2186) 2022-11-28 20:23:30 +04:00
polyfills.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
selection.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
utils.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00