mirror of
https://github.com/codex-team/editor.js
synced 2024-06-07 16:32:22 +02:00
922dfd8741
* 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 |
||
---|---|---|
.. | ||
block.d.ts | ||
blocks.d.ts | ||
caret.d.ts | ||
events.d.ts | ||
i18n.d.ts | ||
index.d.ts | ||
inline-toolbar.d.ts | ||
listeners.d.ts | ||
notifier.d.ts | ||
readonly.d.ts | ||
sanitizer.d.ts | ||
saver.d.ts | ||
selection.d.ts | ||
styles.d.ts | ||
toolbar.d.ts | ||
tooltip.d.ts | ||
ui.d.ts |