editor.js/docs
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
..
assets chore(docs): use local images in docs files (#2239) 2023-03-21 18:59:57 +00:00
api.md feat(blocks-api): blocks.update() now can update tunes as well as data (#2720) 2024-07-06 20:27:47 +03:00
block-tunes.md Tunes improvements for inline actions (#1722) 2021-07-21 21:33:09 +03:00
caret.md Rename to Editor.js (#625) 2019-02-28 14:01:32 +03:00
CHANGELOG.md feat(blocks-api): blocks.update() now can update tunes as well as data (#2720) 2024-07-06 20:27:47 +03:00
installation.md docs: replace holderId config by holder (#2525) 2023-11-02 19:46:09 +03:00
releases.md chore(docs): use local images in docs files (#2239) 2023-03-21 18:59:57 +00:00
sanitizer.md Rename to Editor.js (#625) 2019-02-28 14:01:32 +03:00
toolbar-settings.md Rename to Editor.js (#625) 2019-02-28 14:01:32 +03:00
tools-inline.md chore(docs): use local images in docs files (#2239) 2023-03-21 18:59:57 +00:00
tools.md docs: replace holderId config by holder (#2525) 2023-11-02 19:46:09 +03:00
usage.md chore(docs): use local images in docs files (#2239) 2023-03-21 18:59:57 +00:00