editor.js/test/cypress
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
..
fixtures chore(toolbar): improve aligning with headings (#2748) 2024-07-01 21:10:17 +03:00
plugins Use Vite builder (#2300) 2023-04-13 22:25:29 +03:00
support feat(ui): placeholders updated (#2758) 2024-07-04 14:55:01 +03:00
tests feat(blocks-api): blocks.update() now can update tunes as well as data (#2720) 2024-07-06 20:27:47 +03:00
.eslintrc chore(perf): initialisation and rendering performance optimisations (#2430) 2023-08-08 22:17:09 +03:00
tsconfig.json Block tunes as a popover (#2091) 2022-11-03 20:52:33 +03:00