A block-style editor with clean JSON output
– 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.New Tab bevaviour, Slash as a Toolbox opener, improved Inline Toolbar, updates of navigation and more
Fix
— Caret losing on Mobile Devices when adding a block via Toolbox or via Backspace at the beginning of a BlockNew
— Toolbox now will be opened by '/' in empty Block instead of TabNew
— Block Tunes now will be opened by 'CMD+/' instead of Tab in non-empty blockNew
— Tab now will navigate through Blocks. In last block Tab will navigate to the next input on page.Improvement
— Now you can set focus via arrows/Tab to "contentless" (decorative) blocks like Delimiter which have no inputs.Refactoring
— ce-block--focused
class toggling removed as unused.Fix
— Inline Toolbar sometimes opened in an incorrect position. Now it will be aligned by the left side of the selected text. And won't overflow the right side of the text column.Fix
— Compiler error "This import is never used as a value and must use 'import type'..." fixedfix: errors caused by events fired while editor is not initialized yet #2532
New
— Editor Config now has the style.nonce
attribute that could be used to allowlist editor style tag for Content Security Policy "style-src"