Skip to content

Conversation

@neSpecc
Copy link
Member

@neSpecc neSpecc commented Sep 6, 2025

It's time to release 2.31 version.

It mostly contains stability and performance improvements.

  • New - Inline tools (those with isReadOnlySupported specified) can now be used in read-only mode
  • New - Inline tools (those with isReadOnlySupported specified) shortcuts now work in read-only mode
  • Improvement - Block manager passes target tool config to the conversionConfig.import method on conversion
  • Fix - Fix selection of first block in read-only initialization with "autofocus=true"
  • Fix - Incorrect caret position after blocks merging in Safari
  • Fix - Several toolbox items exported by the one tool have the same shortcut displayed in toolbox
  • Improvement - The current block reference will be updated in read-only mode when blocks are clicked
  • Fix - codex-notifier and codex-tooltip moved from devDependencies to dependencies in package.json to solve type errors
  • Fix - Handle whitespace input in empty placeholder elements to prevent caret from moving unexpectedly to the end of the placeholder
  • Fix - Fix the memory leak issue in Shortcuts class
  • Fix - Fix when / overides selected text outside of the editor
  • DX - Tools submodules removed from the repository
  • Improvement - Shift + Down/Up will allow to select next/previous line instead of Inline Toolbar flipping
  • Improvement - The API caret.setToBlock() offset now works across the entire block content, not just the first or last node.
  • Improvement - The API blocks.renderFromHTML() became async and now can be awaited.
  • Fix - blocks.renderFromHTML() — Error "Can't find a Block to remove." fixed
  • Fix - The API .clear() index invalidation fixed

@neSpecc neSpecc merged commit 9612e0d into next Sep 6, 2025
3 of 7 checks passed
VolgaIgor pushed a commit to VolgaIgor/editor.js that referenced this pull request Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants