Skip to content

Releases: codex-team/editor.js

v2.23.0-rc.2

25 Jan 14:04
1188b40
Compare
Choose a tag to compare
v2.23.0-rc.2 Pre-release
Pre-release

Fix - Recognize async onPaste handlers in tools #1803.
Fix — Fire onChange event for native inputs #1750

v2.23.0-rc.1

24 Nov 20:04
ff91466
Compare
Choose a tag to compare
v2.23.0-rc.1 Pre-release
Pre-release
  • ImprovementUI — Block Tunes toggler moved to the left
  • ImprovementUI — Block Actions (BT toggler + Plus Button) will appear on block hovering instead of click
  • ImprovementUI — Block Tunes toggler icon and Plus button icon updated
  • ImprovementDev Example Page — The menu with helpful buttons added to the bottom of the screen
  • ImprovementDev Example Page — The 'dark' theme added. Now we can code at night more comfortably.
  • ImprovementRectangle Selection — paint optimized
  • FixRectangle Selection — the first click after RS was not clear selection state. Now does.
  • ImprovementBlocks API — toolbar moving logic removed from blocks.move() and blocks.swap() methods. Instead, you should use Toolbar API (it was used by MoveUp and MoveDown tunes, they were updated).
  • NewBlocks API — The getBlockIndex() method added
  • NewBlocks API — the insert() method now has the replace: boolean parameter
  • NewBlocks API — the insert() method now returns the inserted Block API
  • NewListeners API — the on() method now returns the listener id.
  • NewListeners API — the new offById() method added
  • NewAPI — The new UiApi 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

06 Oct 08:49
acdd1f5
Compare
Choose a tag to compare
v2.23.0-rc.0 Pre-release
Pre-release
  • Improvement — The onChange callback now accepts two arguments: EditorJS API and the CustomEvent with type and detail allowing to determine what happened with a Block
  • New Block API — The new dispatchChange() method allows to manually trigger the 'onChange' callback. Useful when Tool made a state mutation that is invisible for editor core.

v2.23.0

07 Feb 16:52
4f15bbc
Compare
Choose a tag to compare
  • ImprovementEditorConfig — The onChange callback now accepts two arguments: EditorJS API and the CustomEvent with type and detail allowing to determine what happened with a Block
  • NewBlock API — The new dispatchChange() method allows to manually trigger the 'onChange' callback. Useful when Tool made a state mutation that is invisible for editor core.
  • ImprovementUI — Block Tunes toggler moved to the left
  • ImprovementUI — Block Actions (BT toggler + Plus Button) will appear on block hovering instead of click
  • ImprovementUI — Block Tunes toggler icon and Plus button icon updated
  • ImprovementDev Example Page — The menu with helpful buttons added to the bottom of the screen
  • ImprovementDev Example Page — The 'dark' theme added. Now we can code at night more comfortably.
  • ImprovementRectangle Selection — paint optimized
  • FixRectangle Selection — the first click after RS was not clear selection state. Now does.
  • ImprovementBlocks API — toolbar moving logic removed from blocks.move() and blocks.swap() methods. Instead, you should use Toolbar API (it was used by MoveUp and MoveDown tunes, they were updated).
  • NewBlocks API — The getBlockIndex() method added
  • NewBlocks API — the insert() method now has the replace: boolean parameter
  • NewBlocks API — the insert() method now returns the inserted Block API
  • NewListeners API — the on() method now returns the listener id.
  • NewListeners API — the new offById() method added
  • NewAPI — The new UiApi section was added. It allows accessing some editor UI nodes and methods.
  • New — The Roadmap added to the Readme
  • Refactoring — Toolbox became a standalone class instead of a Module. It can be accessed only through the Toolbar module.
  • Refactoring — CI flow optimized.
  • Fix - Recognize async onPaste handlers in tools #1803.
  • Fix — Fire onChange event for native inputs #1750

v2.22.3

20 Sep 15:59
1433c1a
Compare
Choose a tag to compare

v2.22.2

21 Jul 19:17
145ece4
Compare
Choose a tag to compare
  • Improvement — Inline Toolbar might be used for any contenteditable element inside Editor.js zone
  • Improvement Tunes API - Tunes now can provide sanitize configuration
  • Fix Tunes API - Tune config now passed to constructor under config property
  • Fix Types - Add common type for internal and external Tools configuration
  • Fix — Block's destroy method is called on block deletion
  • Fix - Fix jump to the button of editor zone on CBS

v2.22.1

28 Jun 10:31
cf494a7
Compare
Choose a tag to compare
  • Fix — I18n for internal Block Tunes #1661

v2.22.0

26 May 19:17
041470d
Compare
Choose a tag to compare
  • New - onChange callback now receive Block API object of affected block
  • New - API method blocks.update(id, data) added.

v2.21.0

28 Apr 09:49
9d8998e
Compare
Choose a tag to compare
  • New - Blocks now have unique ids #873

v2.20.2

15 Apr 18:38
6ac58c3
Compare
Choose a tag to compare
  • Fix — Append default Tunes if user tunes are provided for Block Tool #1640
  • Fix - Prevent the leak of codex-tooltip when Editor.js is destroyed #1475.
  • Refactoring - Notifier module now is a util.