v2.25.0

codex-team/editor.jsv2.25.0Jun 22, 2022by github-actions[bot]

AI Summary

Introduces the ability to add multiple toolbox entries for a single tool and adds a new `composeBlockData()` method.

Key Highlights

  • Support for multiple toolbox entries per tool.
  • New `composeBlockData()` method.

New Features

  • Multiple toolbox entries for a single tool.
  • toolbox getter now returns array or single item.
  • composeBlockData() method.

Full Release Notes

- `New` — *Tools API* — Introducing new feature — toolbox now can have multiple entries for one tool! Due to that API changes: tool's `toolbox` getter now can return either a single config item or an array of config items
- `New` — *Blocks API* — `composeBlockData()` method was added.

🤘 Read the overview of the Multiple Toolbox items feature: https://codex.so/editorjs-toolbox

<img width="729" alt="Screenshot 2022-06-22 at 16 53 39" src="https://user-images.githubusercontent.com/3684889/175052271-57c5aa3c-90d0-4700-b7c1-c2d0f5a6c40c.png">