v2.22.2

codex-team/editor.jsv2.22.2Jul 21, 2021by github-actions[bot]

AI Summary

Enhances inline toolbar usage and Tunes API capabilities, including sanitize configuration and constructor config passing.

Key Highlights

  • Inline toolbar for contenteditable
  • Tunes sanitize configuration
  • Tune config passed to constructor

Full Release Notes

- `Improvement` — Inline Toolbar might be used for any contenteditable element inside Editor.js zone
- `Improvement` *Tunes API* - Tunes now can provide sanitize configuration
- `Fix` *Tunes API* - Tune config now passed to constructor under `config` property
- `Fix` *Types* - Add common type for internal and external Tools configuration
- `Fix` — Block's destroy method is called on block deletion
- `Fix` - Fix jump to the button of editor zone on CBS