Skip to content

Releases: codex-team/editor.js

v2.25.0

22 Jun 14:21
6c0555a
Compare
Choose a tag to compare
  • NewTools API — Introducing new feature — toolbox now can have multiple entries for one tool! Due to that API changes: tool's toolbox getter now can return either a single config item or an array of config items
  • NewBlocks APIcomposeBlockData() method was added.

🤘 Read the overview of the Multiple Toolbox items feature: https://codex.so/editorjs-toolbox

Screenshot 2022-06-22 at 16 53 39

v2.24.3

06 May 10:31
8fec2e7
Compare
Choose a tag to compare
  • Fix — Issue with toolbox preventing text selection fixed #2051

v2.24.2

01 May 12:36
3cbe128
Compare
Choose a tag to compare
  • Fix — Scrolling issue when opening toolbox on mobile fixed
  • Fix — Typo in toolbox empty placeholder fixed
  • Fix — The issue with scroll jumping on block hovering have fixed 2036
  • ImprovementDev Example Page - Add popup example page
  • ImprovementUI - The Toolbox will restore the internal scroll on every opening

v2.24.1

28 Apr 16:39
96c0bcb
Compare
Choose a tag to compare

Fix — The I18n of Tools` titles at the Toolbox now works correctly #2030

v2.24.0

26 Apr 19:54
8bf4dcd
Compare
Choose a tag to compare
  • NewUI — The Toolbox became vertical 🥳
  • ImprovementUI — the Plus button will always be shown (previously, it appears only for empty blocks)
  • ImprovementDev Example Page - Server added to allow opening example page on other devices in network.
  • FixUI — the Toolbar won't move on hover at mobile viewports. Resolves #1972
  • FixOnChange event invocation after block insertion. #1997
  • FixReadOnly — the readonly.isEnabled API getter now works correctly after readonly.toggle() calling. Resolves #1822
  • FixPaste — the inline HTML tags now will be preserved on pasting. #1686

image

v2.23.2

09 Feb 17:49
640b1a2
Compare
Choose a tag to compare

Fix — Crash on initialization in the read-only mode #1968

v2.23.1

08 Feb 10:31
c1bca10
Compare
Choose a tag to compare

fix(ci): incorrect release tag fixed #1964

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.