Download Latest Version v0.33.1 source code.tar.gz (5.6 MB)
Email in envelope

Get an email when there's a new version of Lexical

Home / v0.33.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-03 7.4 kB
v0.33.0 source code.tar.gz 2025-07-03 5.6 MB
v0.33.0 source code.zip 2025-07-03 6.3 MB
Totals: 3 Items   11.9 MB 0

This is a monthly release with some major new features and lots of bug fixes

Breaking Changes

$copyNode(prevNode) now calls node.afterCloneFrom(prevNode) [#7609]

If you have code that assumes that newNode.afterCloneFrom(prevNode) will not be called as a result of $copyNode(prevNode), and would no longer work if it was, then it will need some refactoring. This is a very unlikely scenario.

role no longer removed from readonly LexicalContentEditableElement [#7647]

The role attribute is no longer removed from readonly LexicalContentEditableElement for better accessibility compliance. This may require application and/or CSS changes in rare cases.

New APIs

$config protocol [#7258]

There's a new protocol for creating new node classes, that's more concise, automatically generates the boilerplate for the static methods (getType, clone, importJSON) and has additional features for NodeState.

See the Creating custom nodes with $config and NodeState documentation.

Highlights

Core

  • πŸ†• [#7258] $config protocol + NodeState registration/flattening (also [#7659] [#7661] [#7667] [#7671])
  • βœ… [#7641] Copy NodeState in TextNode.splitText
  • βœ… [#7654] Allow the same mutation listener function to be registered to multiple nodes

Clipboard

  • πŸ†• [#7657] Inherit the style of the last pasted TextNode in the block after pasting rich text

Code

  • πŸ†• [#7613] Code diff highlighting

Devtools

  • πŸ†• [#7642] Add NodeState to TreeView

List

  • πŸ†• [#7638] Add a command to change an ordered list's start number
  • βœ… [#7655] Make tap target for checklists bugger for touch input

React

  • βœ… [#7633] Make ref types mutable
  • βœ… [#7644] Handle DraggableBlockPlugin in scrollable editors
  • βœ… [#7647] Do not remove role from read-only LexicalContentEditableElement
  • βœ… [#7669] Fix an issue with dangling div portals with non-empty style in LexicalMenu (regressed in v0.25)

Table

  • βœ… [#7637] Ignore SELECTION_INSERT_CLIPBOARD_NODES_COMMAND dispatched from child editors
  • βœ… [#7656] Table selection now only occurs when dragging on touch devices

Playground

  • βœ… [#7627] Update alignment state for image selection
  • βœ… [#7636] Allow deleting an empty column layout via backspace
  • βœ… [#7670] Close FloatingLinkEditor popup when user clicks out of it

What's Changed

New Contributors

Full Changelog: https://github.com/facebook/lexical/compare/v0.32.1...v0.33.0

Source: README.md, updated 2025-07-03