NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
npm, #4968 most downloaded on npm
This package contains misc utilities for Lexical.
Latest stable
0.53.0
Last release 12 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 8 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
724 releases Β· first in 2022
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
The only breaking change in this release is minor (#7023) and should not affect any correct code. However, if you are counting the number of times youβ¦
The only breaking change in this release is minor (#7023) and should not affect any correct code. However, if you are counting the number of times your update listener is called during editor.setRootElement(null) then you will have to change that expectation.
Highlights since v0.23.0
Core Editor:
editor.setRootElement(null) #7023Mark:
React:
Full Changelog: https://github.com/facebook/lexical/compare/v0.23.0...v0.23.1
Your coding agent can read these notes before it upgrades. Set up the MCP server β
lexical: editor.setRootElement(null) commits pending updates (#7023)
Pending updates are committed when the root element is set to
null, so update listeners may be called during unmount.
Detect: tests or code that count update listener calls around
setRootElement(null) or component unmount.
Migration: None. Adjust expectations on update listener call counts.
Verify: listener call counts on unmount.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[Breaking Change][lexical] Feature: Add updateFromJSON and move more textFormat/textStyle to ElementNode by @etrepum in https://github.com/facebook/leβ¦
π Feature: Add updateFromJSON and move more textFormat/textStyle to ElementNode This change adds optional textFormat and textStyle properties to SerializedElementNode. If you have existing classes with those properties it could create a namespace clash that you will have to resolve one way or another.
TextNode and ElementNode subclasses should be updated to call the updateFromJSON(serializedNode) method from their static importJSON methods. If they don't, they won't support this new functionality, and will have to continue copy and pasting the super implementation of importJSON for correct behavior if the base class ever changes in the future.
You should consider dropping usage of the version field.
Highlights since v0.22.0
Core Editor:
Playground:
Yjs:
Full Changelog: https://github.com/facebook/lexical/compare/v0.22.0...v0.23.0
lexical: ElementNode serializes textFormat / textStyle; updateFromJSON added (#6970)
SerializedElementNode gained optional textFormat and
textStyle properties, and nodes gained an updateFromJSON(serializedNode)
method that importJSON is expected to call.
Detect: custom ElementNode subclasses whose serialized type or instance
already defines textFormat or textStyle; custom TextNode /
ElementNode subclasses whose static importJSON copies base-class fields
by hand.
Migration: rename any clashing textFormat / textStyle property.
In static importJSON, construct the node and return
$createMyNode().updateFromJSON(serializedNode) instead of copying base
fields. Stop relying on the serialized version field.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[scripts-integration-fixtures] Address GitHub detected a vulnerability in the @sveltejs/kit dependency by @Fetz in https://github.com/facebook/lexicalβ¦
π Feature: Support capitalization format
https://github.com/facebook/lexical/pull/6897
^ You may need to update callsites that enumerate all cases of TextFormatType eg. switch statements
π Feature: New update tag: skip-dom-selection, $onUpdate now always called https://github.com/facebook/lexical/pull/6894
Highlights since v0.21.0
Link:
List:
Text:
Markdown:
Table:
π Support google docs colgroup import (via deprecated col width attribute) https://github.com/facebook/lexical/pull/6971
β fix: check is current selection in target table node https://github.com/facebook/lexical/pull/6979
β Fix: Allow TableSelection to be preserved during contextmenu events https://github.com/facebook/lexical/pull/6964
β Fix: Insertion of multiple rows https://github.com/facebook/lexical/pull/6963
β Fix: Delete table row in merge cells https://github.com/facebook/lexical/pull/6922
β Fix: Enforce table integrity with transforms and move non-React plugin code to @lexical/table https://github.com/facebook/lexical/pull/6914
Selection:
π feature: expose forEachSelectedTextNode https://github.com/facebook/lexical/pull/6981/files
π Feature: Unify $selectAll Implementations https://github.com/facebook/lexical/pull/6902
Core editor:
β
Fix: Refactor markSelection for getDOMSlot and not using updateDOM
https://github.com/facebook/lexical/pull/6961
β Refactor: exportJSON, nodes dont need to redeclare exportJSON https://github.com/facebook/lexical/pull/6983
π Feature: New update tag: skip-dom-selection, $onUpdate now always called https://github.com/facebook/lexical/pull/6894
π Feature: Warn about "display: flex" container for the editor https://github.com/facebook/lexical/pull/6901
React:
β Replace React$MixedElement and React$Node with React.MixedElement and React.Node in flow API https://github.com/facebook/lexical/pull/6984
β Fix: the location of draggable-block-menu cannot be calculated https://github.com/facebook/lexical/pull/6966
React$MixedElement and React$Node with React.MixedElement and React.Node by @SamChou19815 in https://github.com/facebook/lexical/pull/6984Full Changelog: https://github.com/facebook/lexical/compare/v0.21.0...v0.22.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
π Deprecate $nodesOfType function https://github.com/facebook/lexical/pull/6855
π Deprecate $nodesOfType function https://github.com/facebook/lexical/pull/6855
π Feature: Scrollable tables with experimental getDOMSlot API https://github.com/facebook/lexical/pull/6759
β Fix get table-cell background selection color from a class https://github.com/facebook/lexical/pull/6658 Example change would be https://github.com/facebook/lexical/pull/6892
Highlights since v0.20.0
Core editor:
π skipInitialization defaults to false for registerMutationListener https://github.com/facebook/lexical/pull/6857
π Deprecate $nodesOfType function https://github.com/facebook/lexical/pull/6855
β Fix backspace bug when deleting nodes with canInsertTextAfter set to false https://github.com/facebook/lexical/pull/6268
π Add missing flow types for utils https://github.com/facebook/lexical/pull/6841
β Fix: Add feature detection to calculateZoomLevel https://github.com/facebook/lexical/pull/6864
β Fix: Allow setEditorState to work correctly inside of an update (Fixes Autocomplete plugin) https://github.com/facebook/lexical/pull/6876
React:
β Fix: Prevent initial value fn to be called on rerender https://github.com/facebook/lexical/pull/6835/
π ContentEditable Props type rename to ContentEditableProps https://github.com/facebook/lexical/pull/6837/
Link:
Table:
i8n:
A11y:
Mention:
List:
Mark:
Selection:
π New plugin to retain selection: SelectionAlwaysOnDisplay plugin https://github.com/facebook/lexical/pull/6872
β Fix: positionNodeOnRange fixes https://github.com/facebook/lexical/pull/6873
canInsertTextAfter set to false by @dani-lp in https://github.com/facebook/lexical/pull/6268Full Changelog: https://github.com/facebook/lexical/compare/v0.20.0...v0.21.0
Nothing published for this version
π Deprecate $nodesOfType function https://github.com/facebook/lexical/pull/6855
Highlights since v0.20.0
Core editor:
π skipInitialization defaults to false for registerMutationListener https://github.com/facebook/lexical/pull/6857
π Deprecate $nodesOfType function https://github.com/facebook/lexical/pull/6855
β Fix backspace bug when deleting nodes with canInsertTextAfter set to false https://github.com/facebook/lexical/pull/6268
π Add missing flow types for utils https://github.com/facebook/lexical/pull/6841
β Fix: Add feature detection to calculateZoomLevel https://github.com/facebook/lexical/pull/6864
β Fix: Allow setEditorState to work correctly inside of an update (Fixes Autocomplete plugin) https://github.com/facebook/lexical/pull/6876
React:
β Fix: Prevent initial value fn to be called on rerender https://github.com/facebook/lexical/pull/6835/
π ContentEditable Props type rename to ContentEditableProps https://github.com/facebook/lexical/pull/6837/
Link:
Table:
i8n:
A11y:
Mention:
List:
Mark:
Selection:
π New plugin to retain selection: SelectionAlwaysOnDisplay plugin https://github.com/facebook/lexical/pull/6872
β Fix: positionNodeOnRange fixes https://github.com/facebook/lexical/pull/6873
canInsertTextAfter set to false by @dani-lp in https://github.com/facebook/lexical/pull/6268Full Changelog: https://github.com/facebook/lexical/compare/v0.20.0...v0.20.2
Feature Deprecate nodesOfType function (#6855) Sachin Mahato
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
π $onUpdate to add an "onUpdate" callback while processing an editor.update https://github.com/facebook/lexical/pull/6773
Highlights since v0.19.0
Lexical Core:
$onUpdate to add an "onUpdate" callback while processing an editor.update
https://github.com/facebook/lexical/pull/6773Markdown:
Collab / Yjs:
Playground & Docs:
Full Changelog: https://github.com/facebook/lexical/compare/v0.19.0...v0.20.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.