Releases: codex-team/editor.js
Releases · codex-team/editor.js
v2.30.1
Fix– Remove fake selection after multiple "convert to" inline tool toggles
v2.30.0
New Inline Toolbar, nested menu support, separators in toolbars, new placeholders behavior, new API features and various improvements.
💌 Read full changelog
v2.30.0-rc.14
Improvement— Placeholders will stay visible on inputs focus.New— Editor.js now supports contenteditable placeholders out of the box. Just adddata-placeholderordata-placeholder-activeattribute to make it work. The first one will work like native placeholder while the second one will show placeholder only when block is current.Improvement— Now Paragraph placeholder will be shown for the current paragraph, not the only first one.
placeholders.mov
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