mirror of
https://github.com/codex-team/editor.js
synced 2026-03-15 07:05:48 +01:00
* add custom Chai assertion "be.calledWithBatchedEvents" for testing onchange * chore(api): blocks.update(id, data) method improved - `blocks.update(id, data)` now can accept partial data object — it will update only passed properties, others will remain the same. - `blocks.update(id, data)` now will trigger onChange with only `block-change` event. - `blocks.update(id, data)` will return a promise with BlockAPI object of changed block. * fix tests * Update blocks.cy.ts |
||
|---|---|---|
| .. | ||
| 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 | ||