v2.31.0
codex-team/editor.jsv2.31.0Sep 6, 2025by neSpecc
AI Summary
Major feature release enabling inline tools and keyboard shortcuts to work in read-only mode, with significant API improvements and various bug fixes.
Key Highlights
- Inline tools & shortcuts now work in read-only mode
- API update: blocks.renderFromHTML() is now async
- API improvement: caret.setToBlock() enhanced
- Safari caret fixes
- Memory leak fix in Shortcuts module
New Features
- Inline tools in read-only mode
- Keyboard shortcuts in read-only mode
- Async blocks.renderFromHTML() method
- Improved caret.setToBlock() API
Full Release Notes
**Now you can use Inline Tools in read-only mode!** ⨠Inline tools & shortcuts now work in read-only mode š ļø API updates: blocks.renderFromHTML() is async, caret.setToBlock() improved š Fixes: Safari caret, memory leak in Shortcuts, toolbox shortcuts, autofocus in read-only # š [Read full changelog](https://codex.so/editorjs-2-31) ## New Contributors * @e11sy made their first contribution in https://github.com/codex-team/editor.js/pull/2846 * @Sozialarchiv made their first contribution in https://github.com/codex-team/editor.js/pull/2842 * @obafemitayor made their first contribution in https://github.com/codex-team/editor.js/pull/2894 * @narpat-ps made their first contribution in https://github.com/codex-team/editor.js/pull/2941 **Full Changelog**: https://github.com/codex-team/editor.js/compare/v2.30.8...v2.31.0