Releases: codex-team/editor.js
Releases · codex-team/editor.js
v2.23.0-rc.2
v2.23.0-rc.1
Improvement
— UI — Block Tunes toggler moved to the leftImprovement
— UI — Block Actions (BT toggler + Plus Button) will appear on block hovering instead of clickImprovement
— UI — Block Tunes toggler icon and Plus button icon updatedImprovement
— Dev Example Page — The menu with helpful buttons added to the bottom of the screenImprovement
— Dev Example Page — The 'dark' theme added. Now we can code at night more comfortably.Improvement
— Rectangle Selection — paint optimizedFix
— Rectangle Selection — the first click after RS was not clear selection state. Now does.Improvement
— Blocks API — toolbar moving logic removed fromblocks.move()
andblocks.swap()
methods. Instead, you should use Toolbar API (it was used by MoveUp and MoveDown tunes, they were updated).New
— Blocks API — ThegetBlockIndex()
method addedNew
— Blocks API — theinsert()
method now has thereplace: boolean
parameterNew
— Blocks API — theinsert()
method now returns the insertedBlock API
New
— Listeners API — theon()
method now returns the listener id.New
— Listeners API — the newoffById()
method addedNew
—API
— The newUiApi
section was added. It allows accessing some editor UI nodes and methods.Refactoring
— Toolbox became a standalone class instead of a Module. It can be accessed only through the Toolbar module.Refactoring
— CI flow optimized.
v2.23.0-rc.0
Improvement
— TheonChange
callback now accepts two arguments: EditorJS API and the CustomEvent withtype
anddetail
allowing to determine what happened with a BlockNew
Block API — The newdispatchChange()
method allows to manually trigger the 'onChange' callback. Useful when Tool made a state mutation that is invisible for editor core.
v2.23.0
Improvement
— EditorConfig — TheonChange
callback now accepts two arguments: EditorJS API and the CustomEvent withtype
anddetail
allowing to determine what happened with a BlockNew
— Block API — The newdispatchChange()
method allows to manually trigger the 'onChange' callback. Useful when Tool made a state mutation that is invisible for editor core.Improvement
— UI — Block Tunes toggler moved to the leftImprovement
— UI — Block Actions (BT toggler + Plus Button) will appear on block hovering instead of clickImprovement
— UI — Block Tunes toggler icon and Plus button icon updatedImprovement
— Dev Example Page — The menu with helpful buttons added to the bottom of the screenImprovement
— Dev Example Page — The 'dark' theme added. Now we can code at night more comfortably.Improvement
— Rectangle Selection — paint optimizedFix
— Rectangle Selection — the first click after RS was not clear selection state. Now does.Improvement
— Blocks API — toolbar moving logic removed fromblocks.move()
andblocks.swap()
methods. Instead, you should use Toolbar API (it was used by MoveUp and MoveDown tunes, they were updated).New
— Blocks API — ThegetBlockIndex()
method addedNew
— Blocks API — theinsert()
method now has thereplace: boolean
parameterNew
— Blocks API — theinsert()
method now returns the insertedBlock API
New
— Listeners API — theon()
method now returns the listener id.New
— Listeners API — the newoffById()
method addedNew
—API
— The newUiApi
section was added. It allows accessing some editor UI nodes and methods.New
— The Roadmap added to the ReadmeRefactoring
— Toolbox became a standalone class instead of a Module. It can be accessed only through the Toolbar module.Refactoring
— CI flow optimized.Fix
- Recognize asynconPaste
handlers in tools #1803.Fix
— Fire onChange event for native inputs #1750
v2.22.3
Fix
— Tool config is passed toprepare
method editor-js/embed#68
v2.22.2
Improvement
— Inline Toolbar might be used for any contenteditable element inside Editor.js zoneImprovement
Tunes API - Tunes now can provide sanitize configurationFix
Tunes API - Tune config now passed to constructor underconfig
propertyFix
Types - Add common type for internal and external Tools configurationFix
— Block's destroy method is called on block deletionFix
- Fix jump to the button of editor zone on CBS
v2.22.1
v2.22.0
New
-onChange
callback now receive Block API object of affected blockNew
- API methodblocks.update(id, data)
added.