v2.22.0
codex-team/editor.jsv2.22.0May 26, 2021by github-actions[bot]
AI Summary
Adds the ability to identify affected blocks in the `onChange` callback and introduces a new `blocks.update()` method.
Key Highlights
- onChange receives Block API object
- blocks.update(id, data) method added
New Features
- onChange callback receives Block API object
- blocks.update(id, data) API method
Full Release Notes
- `New` - `onChange` callback now receive Block API object of affected block - `New` - API method `blocks.update(id, data)` added.