Releases: codex-team/editor.js
Releases · codex-team/editor.js
v2.30.0-rc.13
New
– Inline Toolbar has new look 💅New
– Inline Tool'srender()
now supports Menu Config formatNew
– ToolsAPI – All installed block tools now accessible via ToolsAPIgetBlockTools()
methodNew
– SelectionAPI – Exposed methodssave()
andrestore()
that allow to save selection to be able to temporally move focus away, methodssetFakeBackground()
andremoveFakeBackground()
that allow to immitate selection while focus moved awayImpovement
– MenuConfig – TunesMenuConfig deprecated, use MenuConfig type insteadNew
– BlocksAPI – ExposedgetBlockByElement()
method that helps find block by any child html elementImprovement
- The Plus button and Block Tunes toggler are now better aligned with large line-height blocks, such as Headings

v2.30.0-rc.12
– Improvement
— Types — BlockToolConstructorOptions
type improved, block
and config
are not optional anymore
v2.30.0-rc.11
– Fix
— Deleting whitespaces at the start/end of the block #2741
v2.30.0-rc.10
Fix
— caret losing after backspace after nested listRefactoring
– switched to Vite as Cypress bundlerNew
– Menu Config – Default and HTML items now support hints
v2.30.0-rc.9
Fix
— Slash keydown inserts the slash at the Toolbox search instead of the current block
v2.30.0-rc.8
Fix
- Caret lost after block conversion via Inline Toolbar and shortcutsImprovement
- The APIblocks.convert()
now returns the new block APIImprovement
- The APIcaret.setToBlock()
now can accept either BlockAPI or block index or block id