editor.js/types
Thomas Brillion 44c29dd645
feat(blocks-api): blocks.update() now can update tunes as well as data (#2720)
* Update `tunes` data when new `tunes` data is provided

AFAIK, when you update block using `editor.blocks.update` method, only `data` attribute is merged and updated. I believe `tunes` data should be updated if provided.

* commit

* edit parameter type, move test

* restore package-lock and yarn lock

* update in api docs

* make data optional

* edit changelog

---------

Co-authored-by: Thomas <zawlintun@robust.best>
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2024-07-06 20:27:47 +03:00
..
api feat(blocks-api): blocks.update() now can update tunes as well as data (#2720) 2024-07-06 20:27:47 +03:00
block-tunes feat(inline-tools): Inline tools rendered as popover (#2718) 2024-06-30 22:27:37 +03:00
configs feat(popover): separator (#2690) 2024-04-22 22:38:20 +03:00
data-formats chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
events/block Fix import in types/events/block/index.ts (#2739) 2024-07-06 20:10:32 +03:00
tools Fix fast toggling of link tool in safari (#2757) 2024-07-03 20:39:13 +03:00
index.d.ts feat(inline-tools): Inline tools rendered as popover (#2718) 2024-06-30 22:27:37 +03:00