A block-style editor with clean JSON output
Fix
— Slash keydown inserts the slash at the Toolbox search instead of the current blockFix
- Caret lost after block conversion via Inline Toolbar and shortcutsImprovement
- The API blocks.convert()
now returns the new block APIImprovement
- The API caret.setToBlock()
now can accept either BlockAPI or block index or block id– New
– "Convert to" control is now also available in Block Tunes
– New
– Block Tunes now supports separator items
– New
– Block Tunes now supports nesting items
Improvement
— The ability to merge blocks of different types (if both tools provide the conversionConfig) #2671https://github.com/codex-team/editor.js/assets/3684889/2463e117-8c5a-412e-bddc-5d86277daae8
Fix
- Unexpected new line on Enter press with selected block without carethttps://github.com/codex-team/editor.js/assets/3684889/ac3320ae-a4a4-46fd-9715-1ef0168f39dc
Fix
- Search input autofocus loosing after Block Tunes openinghttps://github.com/codex-team/editor.js/assets/3684889/c2ecae88-7663-4dc4-9f36-3eebec69e387
Fix
- Block removing while Enter press on Block Tuneshttps://github.com/codex-team/editor.js/assets/3684889/9881f006-3a2c-45a8-aeef-e0fcdfc23867
Fix
— onChange
will be called when removing the entire text within a descendant element of a block.Fix
— Toolbox wont be shown when Slash pressed along with Shift or AltFix
— Toolbox will be opened when Slash entered in non-US keyboard layout where there is no physical '/' key.