Skip to content

chore: bump the lexical group across 1 directory with 7 updates#20860

Open
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/apps/webapp/lexical-00098f317f
Open

chore: bump the lexical group across 1 directory with 7 updates#20860
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/apps/webapp/lexical-00098f317f

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 26, 2026

Bumps the lexical group with 7 updates in the /apps/webapp directory:

Package From To
@lexical/code 0.27.2 0.42.0
@lexical/history 0.27.2 0.42.0
@lexical/list 0.27.2 0.42.0
@lexical/markdown 0.27.2 0.42.0
@lexical/react 0.27.2 0.42.0
@lexical/rich-text 0.27.2 0.42.0
lexical 0.27.2 0.42.0

Updates @lexical/code from 0.27.2 to 0.42.0

Release notes

Sourced from @​lexical/code's releases.

v0.42.0 is a monthly release with a huge number of fixes and features from a lot of new contributors. The most notable fixes are related to tables, links, extensions, and markdown. @lexical/eslint-plugin is now fully compatible with eslint 9+. The production builds are also now generated in an ascii-only format which may considerably reduce memory usage in some deployment environments.

Breaking Changes

Prism highlighting extracted from @lexical/code #8198

Prism highlighting now lives in @lexical/code-prism and the Prism related functionality in @lexical/code is now deprecated. Transitionally, there is a @lexical/code-core package which has the implementation of Lexical's code functionality without a Prism dependency.

Experimental hasFitNestedTables has been moved to the playground #8210

Due to its experimental nature and incomplete implementation, the in-progress hasFitNestedTables functionality has been moved to the playground

New APIs

lexical - $copyNode + LexicalNode.resetOnCopyNodeFrom & NodeState resetOnCopyNode

After $copyNode is used it now calls copiedNode.resetOnCopyNodeFrom(originalNode) which will reset every NodeState that has resetOnCopyNode: true in its configuration. Subclasses can override this method to reset other "ephemeral" state such as whether a ListNodeItem is checked or not.

Note that this does not influence serialization or copy and paste operations, it only affects calls to $copyNode.

@lexical/utils - $insertNodeIntoLeaf

The current behavior RangeSelection.insertNodes can split an inline ElementNode (e.g. a LinkNode) when inserting content, even if that content is also inline and could be a child of the given node. $insertNodeIntoLeaf is now provided to insert a node without splitting any containing nodes.

Highlights

Core:

  • 🧹 #8190 Change EditorThemeClasses from type to interface
  • #8218 Respect CSS scroll-padding in scrollIntoViewIfNeeded
  • #8220 deleteWord now behaves the same as deleteCharacter when at the edge of an ElementNode
  • 🆕 #8221 resetOnCopyNode configuration to NodeState and LexicalNode.resetOnCopyNodeFrom hook
  • 🆕 #8219 LexicalEditor RootListener and EditableListener can return unregister callbacks
  • #8222 Consecutive Linebreak insertion now preserves selection format

Code:

  • ⚠️ #8198 Extract Prism highlighting code to @lexical/code-prism and add @lexical/code-core to provide a dependency that does not include Prism. @lexical/code remains backwards compatible with Prism included, but you should migrate to using highlighting from @lexical/code-shiki or @lexical/code-prism.

Devtools:

  • #8230 Clean up strict mode useLexicalCommandsLog behavior

Extension:

  • 🆕 #8202 LexicalExtensionEditorComposer, NestedEditorExtension, and fixed SharedHistoryExtension with playground refactor

Markdown:

  • #8170 Enforce CommonMark flanking rules for trailing spaces

... (truncated)

Changelog

Sourced from @​lexical/code's changelog.

v0.42.0 (2026-03-19)

  • lexical-table Bug Fix handle table selections crossing intoout of nested tables (#8234) Randal
  • lexical-link Feature Merge adjacent LinkNodes with identical attributes (#8236) Achal Jhawar
  • build(deps) bump next from 15.5.11 to 16.1.7 in scriptstestsintegrationfixtureslexical-esm-nextjs (#8232) dependabotbot
  • lexical-rich-text Bug Fix use writable node in HeadingNode.setTag (#8235) Karesansui
  • lexical-devtools-core Bug Fix Clean up strict mode useLexicalCommandsLog behavior (#8230) Bob Ippolito
  • lexical-playground Chore Remove unused code from playground TablePlugin (#8231) Bob Ippolito
  • lexical-extensionlexical-react Feature LexicalExtensionEditorComposer, NestedEditorExtension, and fixed SharedHistoryExtension with playground refactor (#8202) Bob Ippolito
  • lexical-codelexical-marklexical-reactlexical-tablelexical-rich-textlexical-link Bug Fix Add and fix afterCloneFrom implementations (#8229) Bob Ippolito
  • lexical-playground Bug fix make clear formatting work on multiple paragraphs (#8224) Piotr Dbrowski
  • lexical-eslint-plugin Chore update lexicaleslint-plugin for better eslint 9 support, finish jest to vitest migration (#8227) Bob Ippolito
  • lexical Fix Fixing cursor position after inline equation, fix block equations (#8228) Ajinkya Nikam
  • lexical-link Refactor add afterCloneFrom method to LinkNodeAutoLinkNode (#8226) Sergey Gorbachev
  • lexical-list Fix create copies ListNodeListItemNode in split-like operations (#8213) Sergey Gorbachev
  • lexical-website Fix Correct the mistake in the argument in the example on the Updates page (#8225) Sergey Gorbachev
  • lexical-tablelexical-playground Breaking change Move hasFitNestedTables logic to Playground plugin (#8210) Randal
  • lexical Fix Consecutive Linebreak insertion resets selection format (#8222) Ajinkya Nikam
  • lexical-markdownlexical-playground Bug Fix Convert tabs in TabNode at import (#8211) Simon
  • lexical Feature LexicalEditor RootListener and EditableListener can return unregister callbacks (#8219) Bob Ippolito
  • lexicallexical-listlexical-markdown Feature resetOnCopyNode configuration to NodeState and LexicalNode.resetOnCopyNodeFrom hook (#8221) Bob Ippolito
  • lexical Bug Fix When the editor starts with an empty list item, pressing ctrlbackspace (deleteWord) should replace the list with a paragraph (#8220) Ajinkya Nikam
  • lexical Bug Fix respect CSS scroll-padding in scrollIntoViewIfNeeded (#8218) Takenosuke Nagata
  • lexical-utilslexical-playground Feature Add insertNodeIntoLeaf and insert deeply DateTimeNode (#8206) Sergey Gorbachev
  • lexical-table Chore add test for mouse leaving browser window during table selection (#8215) Takenosuke Nagata
  • lexical-playground Fix use inline style for LayoutContainerNode import (#8214) ByungGyu-Yu
  • lexical-website Bug Fix Removed blog route from lexical.dev (#8209) Matheus SantAnna
  • lexical-table Refactor Call handleTableSelectionChangeCommand once instead of per-table (#8200) Randal
  • lexical-react Revert revert Remove deprecated ContextMenu, consolidate menu rendering with backward-compatible menuRenderFn (#8199) Michael
  • lexical-table Bug Fix Prevent single-cell table selection after exiting table selection (#8195) Randal
  • lexical-code Breaking Change Extract Prism code highlighting to lexicalcode-prism (with internal module lexicalcode-core to avoid circular import) (#8198) Bob Ippolito
  • lexical-table Bug Fix Improve nested table selection by using monolithic pointer event handling (#8193) Randal
  • lexical-markdown Bug Fix update backslash escape handling to align with CommonMark (#8192) kimseongyu
  • lexical-tablelexical-playground Feature nested tables resize themselves if hasFitNestedTables true (#8183) Randal
  • lexical-table Refactor use monolithic listener for table SELECTIONCHANGECOMMAND and deselection handler (#8187) Randal
  • lexical Chore Change alias from type to interface for EditorThemeClasses (#8190) Sergey Gorbachev
  • lexical-playground Chore Remove legacy-events mode (#8188) Sergey Gorbachev
  • lexical-playground Fix add fallback for dimensionless images to prevent collapse (#8186) Sa-Te
  • lexical-link Bug Fix Enable autolink matching when it unlinked (#8165) Sergey Gorbachev
  • Fix rollup CVE-2026-27606 in example project lockfiles (#8182) Michael
  • lexical Chore Fix rollup CVE-2026-27606 across all lockfiles (#8173) Michael
  • lexical Security Fix isaacsbrace-expansion vulnerability (CVE-2026-25547) (#8175) Michael
  • lexical Chore Fix form-data CVE-2025-7783 in root lockfile (#8174) Michael
  • lexical-markdown Fix enforce CommonMark flanking rules for trailing spaces (#8170) Sa-Te
  • lexical Security Fix qs vulnerability (CVE-2025-15284) (#8176) Michael
  • Fix cross-spawn vulnerability (CVE-2024-21538) by removing child-process-promise (#8177) Michael
  • lexical Chore Fix minimatch CVE-2026-26996 in example projects (#8169) Michael
  • Update examples for v0.41.0 (#8171) Bob Ippolito
  • v0.41.0 (#8166) Bob Ippolito
  • v0.41.0 Lexical GitHub Actions Bot

... (truncated)

Commits
  • 01abe99 v0.42.0
  • a2546bd [lexical-code] Breaking Change: Extract Prism code highlighting to @​lexical/c...
  • 4ba61a9 v0.41.0 (#8166)
  • 23b7a0c [lexical-code] Bug Fix: Allow moving caret outside code block (#7918)
  • b961452 v0.40.0 (#8104)
  • 26ec991 [lexical][lexical-utils] Chore: Use workspace:* for monorepo versions and fix...
  • f508ff5 Chore: Add an ignore-previously-published arg to the publish action (#8023)
  • 8cc0929 v0.39.0 (#8021)
  • a64fd2e [lexical-extension][lexical-*] Bug Fix: Defer node class references to potent...
  • 4f0d5a3 [lexical-code] Bug fix: Add editor key in highlighted nodes cache (#7970)
  • Additional commits viewable in compare view

Updates @lexical/history from 0.27.2 to 0.42.0

Release notes

Sourced from @​lexical/history's releases.

v0.42.0 is a monthly release with a huge number of fixes and features from a lot of new contributors. The most notable fixes are related to tables, links, extensions, and markdown. @lexical/eslint-plugin is now fully compatible with eslint 9+. The production builds are also now generated in an ascii-only format which may considerably reduce memory usage in some deployment environments.

Breaking Changes

Prism highlighting extracted from @lexical/code #8198

Prism highlighting now lives in @lexical/code-prism and the Prism related functionality in @lexical/code is now deprecated. Transitionally, there is a @lexical/code-core package which has the implementation of Lexical's code functionality without a Prism dependency.

Experimental hasFitNestedTables has been moved to the playground #8210

Due to its experimental nature and incomplete implementation, the in-progress hasFitNestedTables functionality has been moved to the playground

New APIs

lexical - $copyNode + LexicalNode.resetOnCopyNodeFrom & NodeState resetOnCopyNode

After $copyNode is used it now calls copiedNode.resetOnCopyNodeFrom(originalNode) which will reset every NodeState that has resetOnCopyNode: true in its configuration. Subclasses can override this method to reset other "ephemeral" state such as whether a ListNodeItem is checked or not.

Note that this does not influence serialization or copy and paste operations, it only affects calls to $copyNode.

@lexical/utils - $insertNodeIntoLeaf

The current behavior RangeSelection.insertNodes can split an inline ElementNode (e.g. a LinkNode) when inserting content, even if that content is also inline and could be a child of the given node. $insertNodeIntoLeaf is now provided to insert a node without splitting any containing nodes.

Highlights

Core:

  • 🧹 #8190 Change EditorThemeClasses from type to interface
  • #8218 Respect CSS scroll-padding in scrollIntoViewIfNeeded
  • #8220 deleteWord now behaves the same as deleteCharacter when at the edge of an ElementNode
  • 🆕 #8221 resetOnCopyNode configuration to NodeState and LexicalNode.resetOnCopyNodeFrom hook
  • 🆕 #8219 LexicalEditor RootListener and EditableListener can return unregister callbacks
  • #8222 Consecutive Linebreak insertion now preserves selection format

Code:

  • ⚠️ #8198 Extract Prism highlighting code to @lexical/code-prism and add @lexical/code-core to provide a dependency that does not include Prism. @lexical/code remains backwards compatible with Prism included, but you should migrate to using highlighting from @lexical/code-shiki or @lexical/code-prism.

Devtools:

  • #8230 Clean up strict mode useLexicalCommandsLog behavior

Extension:

  • 🆕 #8202 LexicalExtensionEditorComposer, NestedEditorExtension, and fixed SharedHistoryExtension with playground refactor

Markdown:

  • #8170 Enforce CommonMark flanking rules for trailing spaces

... (truncated)

Changelog

Sourced from @​lexical/history's changelog.

v0.42.0 (2026-03-19)

  • lexical-table Bug Fix handle table selections crossing intoout of nested tables (#8234) Randal
  • lexical-link Feature Merge adjacent LinkNodes with identical attributes (#8236) Achal Jhawar
  • build(deps) bump next from 15.5.11 to 16.1.7 in scriptstestsintegrationfixtureslexical-esm-nextjs (#8232) dependabotbot
  • lexical-rich-text Bug Fix use writable node in HeadingNode.setTag (#8235) Karesansui
  • lexical-devtools-core Bug Fix Clean up strict mode useLexicalCommandsLog behavior (#8230) Bob Ippolito
  • lexical-playground Chore Remove unused code from playground TablePlugin (#8231) Bob Ippolito
  • lexical-extensionlexical-react Feature LexicalExtensionEditorComposer, NestedEditorExtension, and fixed SharedHistoryExtension with playground refactor (#8202) Bob Ippolito
  • lexical-codelexical-marklexical-reactlexical-tablelexical-rich-textlexical-link Bug Fix Add and fix afterCloneFrom implementations (#8229) Bob Ippolito
  • lexical-playground Bug fix make clear formatting work on multiple paragraphs (#8224) Piotr Dbrowski
  • lexical-eslint-plugin Chore update lexicaleslint-plugin for better eslint 9 support, finish jest to vitest migration (#8227) Bob Ippolito
  • lexical Fix Fixing cursor position after inline equation, fix block equations (#8228) Ajinkya Nikam
  • lexical-link Refactor add afterCloneFrom method to LinkNodeAutoLinkNode (#8226) Sergey Gorbachev
  • lexical-list Fix create copies ListNodeListItemNode in split-like operations (#8213) Sergey Gorbachev
  • lexical-website Fix Correct the mistake in the argument in the example on the Updates page (#8225) Sergey Gorbachev
  • lexical-tablelexical-playground Breaking change Move hasFitNestedTables logic to Playground plugin (#8210) Randal
  • lexical Fix Consecutive Linebreak insertion resets selection format (#8222) Ajinkya Nikam
  • lexical-markdownlexical-playground Bug Fix Convert tabs in TabNode at import (#8211) Simon
  • lexical Feature LexicalEditor RootListener and EditableListener can return unregister callbacks (#8219) Bob Ippolito
  • lexicallexical-listlexical-markdown Feature resetOnCopyNode configuration to NodeState and LexicalNode.resetOnCopyNodeFrom hook (#8221) Bob Ippolito
  • lexical Bug Fix When the editor starts with an empty list item, pressing ctrlbackspace (deleteWord) should replace the list with a paragraph (#8220) Ajinkya Nikam
  • lexical Bug Fix respect CSS scroll-padding in scrollIntoViewIfNeeded (#8218) Takenosuke Nagata
  • lexical-utilslexical-playground Feature Add insertNodeIntoLeaf and insert deeply DateTimeNode (#8206) Sergey Gorbachev
  • lexical-table Chore add test for mouse leaving browser window during table selection (#8215) Takenosuke Nagata
  • lexical-playground Fix use inline style for LayoutContainerNode import (#8214) ByungGyu-Yu
  • lexical-website Bug Fix Removed blog route from lexical.dev (#8209) Matheus SantAnna
  • lexical-table Refactor Call handleTableSelectionChangeCommand once instead of per-table (#8200) Randal
  • lexical-react Revert revert Remove deprecated ContextMenu, consolidate menu rendering with backward-compatible menuRenderFn (#8199) Michael
  • lexical-table Bug Fix Prevent single-cell table selection after exiting table selection (#8195) Randal
  • lexical-code Breaking Change Extract Prism code highlighting to lexicalcode-prism (with internal module lexicalcode-core to avoid circular import) (#8198) Bob Ippolito
  • lexical-table Bug Fix Improve nested table selection by using monolithic pointer event handling (#8193) Randal
  • lexical-markdown Bug Fix update backslash escape handling to align with CommonMark (#8192) kimseongyu
  • lexical-tablelexical-playground Feature nested tables resize themselves if hasFitNestedTables true (#8183) Randal
  • lexical-table Refactor use monolithic listener for table SELECTIONCHANGECOMMAND and deselection handler (#8187) Randal
  • lexical Chore Change alias from type to interface for EditorThemeClasses (#8190) Sergey Gorbachev
  • lexical-playground Chore Remove legacy-events mode (#8188) Sergey Gorbachev
  • lexical-playground Fix add fallback for dimensionless images to prevent collapse (#8186) Sa-Te
  • lexical-link Bug Fix Enable autolink matching when it unlinked (#8165) Sergey Gorbachev
  • Fix rollup CVE-2026-27606 in example project lockfiles (#8182) Michael
  • lexical Chore Fix rollup CVE-2026-27606 across all lockfiles (#8173) Michael
  • lexical Security Fix isaacsbrace-expansion vulnerability (CVE-2026-25547) (#8175) Michael
  • lexical Chore Fix form-data CVE-2025-7783 in root lockfile (#8174) Michael
  • lexical-markdown Fix enforce CommonMark flanking rules for trailing spaces (#8170) Sa-Te
  • lexical Security Fix qs vulnerability (CVE-2025-15284) (#8176) Michael
  • Fix cross-spawn vulnerability (CVE-2024-21538) by removing child-process-promise (#8177) Michael
  • lexical Chore Fix minimatch CVE-2026-26996 in example projects (#8169) Michael
  • Update examples for v0.41.0 (#8171) Bob Ippolito
  • v0.41.0 (#8166) Bob Ippolito
  • v0.41.0 Lexical GitHub Actions Bot

... (truncated)

Commits

Updates @lexical/list from 0.27.2 to 0.42.0

Release notes

Sourced from @​lexical/list's releases.

v0.42.0 is a monthly release with a huge number of fixes and features from a lot of new contributors. The most notable fixes are related to tables, links, extensions, and markdown. @lexical/eslint-plugin is now fully compatible with eslint 9+. The production builds are also now generated in an ascii-only format which may considerably reduce memory usage in some deployment environments.

Breaking Changes

Prism highlighting extracted from @lexical/code #8198

Prism highlighting now lives in @lexical/code-prism and the Prism related functionality in @lexical/code is now deprecated. Transitionally, there is a @lexical/code-core package which has the implementation of Lexical's code functionality without a Prism dependency.

Experimental hasFitNestedTables has been moved to the playground #8210

Due to its experimental nature and incomplete implementation, the in-progress hasFitNestedTables functionality has been moved to the playground

New APIs

lexical - $copyNode + LexicalNode.resetOnCopyNodeFrom & NodeState resetOnCopyNode

After $copyNode is used it now calls copiedNode.resetOnCopyNodeFrom(originalNode) which will reset every NodeState that has resetOnCopyNode: true in its configuration. Subclasses can override this method to reset other "ephemeral" state such as whether a ListNodeItem is checked or not.

Note that this does not influence serialization or copy and paste operations, it only affects calls to $copyNode.

@lexical/utils - $insertNodeIntoLeaf

The current behavior RangeSelection.insertNodes can split an inline ElementNode (e.g. a LinkNode) when inserting content, even if that content is also inline and could be a child of the given node. $insertNodeIntoLeaf is now provided to insert a node without splitting any containing nodes.

Highlights

Core:

  • 🧹 #8190 Change EditorThemeClasses from type to interface
  • #8218 Respect CSS scroll-padding in scrollIntoViewIfNeeded
  • #8220 deleteWord now behaves the same as deleteCharacter when at the edge of an ElementNode
  • 🆕 #8221 resetOnCopyNode configuration to NodeState and LexicalNode.resetOnCopyNodeFrom hook
  • 🆕 #8219 LexicalEditor RootListener and EditableListener can return unregister callbacks
  • #8222 Consecutive Linebreak insertion now preserves selection format

Code:

  • ⚠️ #8198 Extract Prism highlighting code to @lexical/code-prism and add @lexical/code-core to provide a dependency that does not include Prism. @lexical/code remains backwards compatible with Prism included, but you should migrate to using highlighting from @lexical/code-shiki or @lexical/code-prism.

Devtools:

  • #8230 Clean up strict mode useLexicalCommandsLog behavior

Extension:

  • 🆕 #8202 LexicalExtensionEditorComposer, NestedEditorExtension, and fixed SharedHistoryExtension with playground refactor

Markdown:

  • #8170 Enforce CommonMark flanking rules for trailing spaces

... (truncated)

Changelog

Sourced from @​lexical/list's changelog.

v0.42.0 (2026-03-19)

  • lexical-table Bug Fix handle table selections crossing intoout of nested tables (#8234) Randal
  • lexical-link Feature Merge adjacent LinkNodes with identical attributes (#8236) Achal Jhawar
  • build(deps) bump next from 15.5.11 to 16.1.7 in scriptstestsintegrationfixtureslexical-esm-nextjs (#8232) dependabotbot
  • lexical-rich-text Bug Fix use writable node in HeadingNode.setTag (#8235) Karesansui
  • lexical-devtools-core Bug Fix Clean up strict mode useLexicalCommandsLog behavior (#8230) Bob Ippolito
  • lexical-playground Chore Remove unused code from playground TablePlugin (#8231) Bob Ippolito
  • lexical-extensionlexical-react Feature LexicalExtensionEditorComposer, NestedEditorExtension, and fixed SharedHistoryExtension with playground refactor (#8202) Bob Ippolito
  • lexical-codelexical-marklexical-reactlexical-tablelexical-rich-textlexical-link Bug Fix Add and fix afterCloneFrom implementations (#8229) Bob Ippolito
  • lexical-playground Bug fix make clear formatting work on multiple paragraphs (#8224) Piotr Dbrowski
  • lexical-eslint-plugin Chore update lexicaleslint-plugin for better eslint 9 support, finish jest to vitest migration (#8227) Bob Ippolito
  • lexical Fix Fixing cursor position after inline equation, fix block equations (#8228) Ajinkya Nikam
  • lexical-link Refactor add afterCloneFrom method to LinkNodeAutoLinkNode (#8226) Sergey Gorbachev
  • lexical-list Fix create copies ListNodeListItemNode in split-like operations (#8213) Sergey Gorbachev
  • lexical-website Fix Correct the mistake in the argument in the example on the Updates page (#8225) Sergey Gorbachev
  • lexical-tablelexical-playground Breaking change Move hasFitNestedTables logic to Playground plugin (#8210) Randal
  • lexical Fix Consecutive Linebreak insertion resets selection format (#8222) Ajinkya Nikam
  • lexical-markdownlexical-playground Bug Fix Convert tabs in TabNode at import (#8211) Simon
  • lexical Feature LexicalEditor RootListener and EditableListener can return unregister callbacks (#8219) Bob Ippolito
  • lexicallexical-listlexical-markdown Feature resetOnCopyNode configuration to NodeState and LexicalNode.resetOnCopyNodeFrom hook (#8221) Bob Ippolito
  • lexical Bug Fix When the editor starts with an empty list item, pressing ctrlbackspace (deleteWord) should replace the list with a paragraph (#8220) Ajinkya Nikam
  • lexical Bug Fix respect CSS scroll-padding in scrollIntoViewIfNeeded (#8218) Takenosuke Nagata
  • lexical-utilslexical-playground Feature Add insertNodeIntoLeaf and insert deeply DateTimeNode (#8206) Sergey Gorbachev
  • lexical-table Chore add test for mouse leaving browser window during table selection (#8215) Takenosuke Nagata
  • lexical-playground Fix use inline style for LayoutContainerNode import (#8214) ByungGyu-Yu
  • lexical-website Bug Fix Removed blog route from lexical.dev (#8209) Matheus SantAnna
  • lexical-table Refactor Call handleTableSelectionChangeCommand once instead of per-table (#8200) Randal
  • lexical-react Revert revert Remove deprecated ContextMenu, consolidate menu rendering with backward-compatible menuRenderFn (#8199) Michael
  • lexical-table Bug Fix Prevent single-cell table selection after exiting table selection (#8195) Randal
  • lexical-code Breaking Change Extract Prism code highlighting to lexicalcode-prism (with internal module lexicalcode-core to avoid circular import) (#8198) Bob Ippolito
  • lexical-table Bug Fix Improve nested table selection by using monolithic pointer event handling (#8193) Randal
  • lexical-markdown Bug Fix update backslash escape handling to align with CommonMark (#8192) kimseongyu
  • lexical-tablelexical-playground Feature nested tables resize themselves if hasFitNestedTables true (#8183) Randal
  • lexical-table Refactor use monolithic listener for table SELECTIONCHANGECOMMAND and deselection handler (#8187) Randal
  • lexical Chore Change alias from type to interface for EditorThemeClasses (#8190) Sergey Gorbachev
  • lexical-playground Chore Remove legacy-events mode (#8188) Sergey Gorbachev
  • lexical-playground Fix add fallback for dimensionless images to prevent collapse (#8186) Sa-Te
  • lexical-link Bug Fix Enable autolink matching when it unlinked (#8165) Sergey Gorbachev
  • Fix rollup CVE-2026-27606 in example project lockfiles (#8182) Michael
  • lexical Chore Fix rollup CVE-2026-27606 across all lockfiles (#8173) Michael
  • lexical Security Fix isaacsbrace-expansion vulnerability (CVE-2026-25547) (#8175) Michael
  • lexical Chore Fix form-data CVE-2025-7783 in root lockfile (#8174) Michael
  • lexical-markdown Fix enforce CommonMark flanking rules for trailing spaces (#8170) Sa-Te
  • lexical Security Fix qs vulnerability (CVE-2025-15284) (#8176) Michael
  • Fix cross-spawn vulnerability (CVE-2024-21538) by removing child-process-promise (#8177) Michael
  • lexical Chore Fix minimatch CVE-2026-26996 in example projects (#8169) Michael
  • Update examples for v0.41.0 (#8171) Bob Ippolito
  • v0.41.0 (#8166) Bob Ippolito
  • v0.41.0 Lexical GitHub Actions Bot

... (truncated)

Commits
  • 01abe99 v0.42.0
  • 38ab72c [lexical-extension][lexical-react] Feature: LexicalExtensionEditorComposer, N...
  • ed2fd08 [lexical-list] Fix: create copies ListNode/ListItemNode in split-like operati...
  • 446a534 [lexical] Feature: LexicalEditor RootListener and EditableListener can return...
  • 66972c1 [lexical][lexical-list][lexical-markdown] Feature: resetOnCopyNode configurat...
  • 4ba61a9 v0.41.0 (#8166)
  • 2f1189d feat: add focus event option for the checklist extension (#8105)
  • 2ccc73a [lexical-list] Feature: Preserve ordered list numbering when split by blocks ...
  • b961452 v0.40.0 (#8104)
  • 26ec991 [lexical][lexical-utils] Chore: Use workspace:* for monorepo versions and fix...
  • Additional commits viewable in compare view

Updates @lexical/markdown from 0.27.2 to 0.42.0

Release notes

Sourced from @​lexical/markdown's releases.

v0.42.0 is a monthly release with a huge number of fixes and features from a lot of new contributors. The most notable fixes are related to tables, links, extensions, and markdown. @lexical/eslint-plugin is now fully compatible with eslint 9+. The production builds are also now generated in an ascii-only format which may considerably reduce memory usage in some deployment environments.

Breaking Changes

Prism highlighting extracted from @lexical/code #8198

Prism highlighting now lives in @lexical/code-prism and the Prism related functionality in @lexical/code is now deprecated. Transitionally, there is a @lexical/code-core package which has the implementation of Lexical's code functionality without a Prism dependency.

Experimental hasFitNestedTables has been moved to the playground #8210

Due to its experimental nature and incomplete implementation, the in-progress hasFitNestedTables functionality has been moved to the playground

New APIs

lexical - $copyNode + LexicalNode.resetOnCopyNodeFrom & NodeState resetOnCopyNode

After $copyNode is used it now calls copiedNode.resetOnCopyNodeFrom(originalNode) which will reset every NodeState that has resetOnCopyNode: true in its configuration. Subclasses can override this method to reset other "ephemeral" state such as whether a ListNodeItem is checked or not.

Note that this does not influence serialization or copy and paste operations, it only affects calls to $copyNode.

@lexical/utils - $insertNodeIntoLeaf

The current behavior RangeSelection.insertNodes can split an inline ElementNode (e.g. a LinkNode) when inserting content, even if that content is also inline and could be a child of the given node. $insertNodeIntoLeaf is now provided to insert a node without splitting any containing nodes.

Highlights

Core:

  • 🧹 #8190 Change EditorThemeClasses from type to interface
  • #8218 Respect CSS scroll-padding in scrollIntoViewIfNeeded
  • #8220 deleteWord now behaves the same as deleteCharacter when at the edge of an ElementNode
  • 🆕 #8221 resetOnCopyNode configuration to NodeState and LexicalNode.resetOnCopyNodeFrom hook
  • 🆕 #8219 LexicalEditor RootListener and EditableListener can return unregister callbacks
  • #8222 Consecutive Linebreak insertion now preserves selection format

Code:

  • ⚠️ #8198 Extract Prism highlighting code to @lexical/code-prism and add @lexical/code-core to provide a dependency that does not include Prism. @lexical/code remains backwards compatible with Prism included, but you should migrate to using highlighting from @lexical/code-shiki or @lexical/code-prism.

Devtools:

  • #8230 Clean up strict mode useLexicalCommandsLog behavior

Extension:

  • 🆕 #8202 LexicalExtensionEditorComposer, NestedEditorExtension, and fixed SharedHistoryExtension with playground refactor

Markdown:

  • #8170 Enforce CommonMark flanking rules for trailing spaces

... (truncated)

Changelog

Sourced from @​lexical/markdown's changelog.

v0.42.0 (2026-03-19)

  • lexical-table Bug Fix handle table selections crossing intoout of nested tables (#8234) Randal
  • lexical-link Feature Merge adjacent LinkNodes with identical attributes (#8236) Achal Jhawar
  • build(deps) bump next from 15.5.11 to 16.1.7 in scriptstestsintegrationfixtureslexical-esm-nextjs (#8232) dependabotbot
  • lexical-rich-text Bug Fix use writable node in HeadingNode.setTag (#8235) Karesansui
  • lexical-devtools-core Bug Fix Clean up strict mode useLexicalCommandsLog behavior (#8230) Bob Ippolito
  • lexical-playground Chore Remove unused code from playground TablePlugin (#8231) Bob Ippolito
  • lexical-extensionlexical-react Feature LexicalExtensionEditorComposer, NestedEditorExtension, and fixed SharedHistoryExtension with playground refactor (#8202) Bob Ippolito
  • lexical-codelexical-marklexical-reactlexical-tablelexical-rich-textlexical-link Bug Fix Add and fix afterCloneFrom implementations (#8229) Bob Ippolito
  • lexical-playground Bug fix make clear formatting work on multiple paragraphs (#8224) Piotr Dbrowski
  • lexical-eslint-plugin Chore update lexicaleslint-plugin for better eslint 9 support, finish jest to vitest migration (#8227) Bob Ippolito
  • lexical Fix Fixing cursor position after inline equation, fix block equations (#8228) Ajinkya Nikam
  • lexical-link Refactor add afterCloneFrom method to LinkNodeAutoLinkNode (#8226) Sergey Gorbachev
  • lexical-list Fix create copies ListNodeListItemNode in split-like operations (#8213) Sergey Gorbachev
  • lexical-website Fix Correct the mistake in the argument in the example on the Updates page (#8225) Sergey Gorbachev
  • lexical-tablelexical-playground Breaking change Move hasFitNestedTables logic to Playground plugin (#8210) Randal
  • lexical Fix Consecutive Linebreak insertion resets selection format (#8222) Ajinkya Nikam
  • lexical-markdownlexical-playground Bug Fix Convert tabs in TabNode at import (#8211) Simon
  • lexical Feature LexicalEditor RootListener and EditableListener can return unregister callbacks (#8219) Bob Ippolito
  • lexicallexical-listlexical-markdown Feature resetOnCopyNode configuration to NodeState and LexicalNode.resetOnCopyNodeFrom hook (#8221) Bob Ippolito
  • lexical Bug Fix When the editor starts with an empty list item, pressing ctrlbackspace (deleteWord) should replace the list with a paragraph (#8220) Ajinkya Nikam
  • lexical Bug Fix respect CSS scroll-padding in scrollIntoViewIfNeeded (#8218) Takenosuke Nagata
  • lexical-utilslexical-playground Feature Add insertNodeIntoLeaf and insert deeply DateTimeNode (#8206) Sergey Gorbachev
  • lexical-table Chore add test for mouse leaving browser window during table selection (#8215) Takenosuke Nagata
  • lexical-playground Fix use inline style for LayoutContainerNode import (#8214) ByungGyu-Yu
  • lexical-website Bug Fix Removed blog route from lexical.dev (#8209) Matheus SantAnna
  • lexical-table Refactor Call handleTableSelectionChangeCommand once instead of per-table (#8200) Randal
  • lexical-react Revert revert Remove deprecated ContextMenu, consolidate menu rendering with backward-compatible menuRenderFn (#8199) Michael
  • lexical-table Bug Fix Prevent single-cell table selection after exiting table selection (#8195) Randal
  • lexical-code Breaking Change Extract Prism code highlighting to lexicalcode-prism (with internal module lexicalcode-core to avoid circular import) (#8198) Bob Ippolito
  • lexical-table Bug Fix Improve nested table selection by using monolithic pointer event handling (#8193) Randal
  • lexical-markdown Bug Fix update backslash escape handling to align with CommonMark (#8192) kimseongyu
  • lexical-tablelexical-playground Feature nested tables resize themselves if hasFitNestedTables true (#8183) Randal
  • lexical-table Refactor use monolithic listener for table SELECTIONCHANGECOMMAND and deselection handler (#8187) Randal
  • le...

    Description has been truncated

@otto-the-bot otto-the-bot enabled auto-merge March 26, 2026 10:31
@dependabot dependabot bot changed the title chore: bump the lexical group in /apps/webapp with 7 updates chore: bump the lexical group across 1 directory with 7 updates Mar 29, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/apps/webapp/lexical-00098f317f branch from 3670a10 to 65fda44 Compare March 29, 2026 14:03
github-actions[bot]
github-actions bot previously approved these changes Mar 29, 2026
Bumps the lexical group in /apps/webapp with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@lexical/code](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-code) | `0.27.2` | `0.42.0` |
| [@lexical/history](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-history) | `0.27.2` | `0.42.0` |
| [@lexical/list](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-list) | `0.27.2` | `0.42.0` |
| [@lexical/markdown](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-markdown) | `0.27.2` | `0.42.0` |
| [@lexical/react](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-react) | `0.27.2` | `0.42.0` |
| [@lexical/rich-text](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-rich-text) | `0.27.2` | `0.42.0` |
| [lexical](https://github.com/facebook/lexical/tree/HEAD/packages/lexical) | `0.27.2` | `0.42.0` |


Updates `@lexical/code` from 0.27.2 to 0.42.0
- [Release notes](https://github.com/facebook/lexical/releases)
- [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/lexical/commits/v0.42.0/packages/lexical-code)

Updates `@lexical/history` from 0.27.2 to 0.42.0
- [Release notes](https://github.com/facebook/lexical/releases)
- [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/lexical/commits/v0.42.0/packages/lexical-history)

Updates `@lexical/list` from 0.27.2 to 0.42.0
- [Release notes](https://github.com/facebook/lexical/releases)
- [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/lexical/commits/v0.42.0/packages/lexical-list)

Updates `@lexical/markdown` from 0.27.2 to 0.42.0
- [Release notes](https://github.com/facebook/lexical/releases)
- [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/lexical/commits/v0.42.0/packages/lexical-markdown)

Updates `@lexical/react` from 0.27.2 to 0.42.0
- [Release notes](https://github.com/facebook/lexical/releases)
- [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/lexical/commits/v0.42.0/packages/lexical-react)

Updates `@lexical/rich-text` from 0.27.2 to 0.42.0
- [Release notes](https://github.com/facebook/lexical/releases)
- [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/lexical/commits/v0.42.0/packages/lexical-rich-text)

Updates `lexical` from 0.27.2 to 0.42.0
- [Release notes](https://github.com/facebook/lexical/releases)
- [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/lexical/commits/v0.42.0/packages/lexical)

---
updated-dependencies:
- dependency-name: "@lexical/code"
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lexical
- dependency-name: "@lexical/history"
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lexical
- dependency-name: "@lexical/list"
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lexical
- dependency-name: "@lexical/markdown"
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lexical
- dependency-name: "@lexical/react"
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lexical
- dependency-name: "@lexical/rich-text"
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lexical
- dependency-name: lexical
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lexical
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/apps/webapp/lexical-00098f317f branch from 65fda44 to e88db52 Compare March 30, 2026 06:28
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant