Releases: codex-team/editor.js
Releases Β· codex-team/editor.js
v2.30.6
Fix
β Fix the display of βConvert Toβ near blocks that do not have the βconversionConfig.exportβ rule specifiedFix
β The Plus button does not appear when the editor is loaded in an iframe in ChromeFix
β Prevent inline toolbar from closing in nested instance of editor
v2.30.5
β Fix β Fix exported types
v2.30.4
Fix
- Tool's exporting types added
v2.30.3
βΒ Fix
β I18n in nested popover
v2.30.2
Fix
β The onChange callback won't be fired when editor is initialized in the Read-Only modeFix
β "Convert To" supports i18n againFix
β Prevent form submit on inline tool click
v2.30.2-rc.0
β Fix
β The onChange callback won't be fired when editor is initialized in the Read-Only mode
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-placeholder
ordata-placeholder-active
attribute 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