Skip to content

[lexical-react] Bug Fix: Add $config $transform inheritance to LexicalNestedComposer - #7757

Merged
etrepum merged 4 commits into
meta:mainfrom
etrepum:nested-config-transform
Aug 13, 2025
Merged

etrepum merged 4 commits into
meta:mainfrom
etrepum:nested-config-transform

Conversation

@etrepum

@etrepum etrepum commented Aug 13, 2025

Copy link
Copy Markdown
Collaborator

Description

When the editor used in a LexicalNestedComposer does not specify a nodes configuration it inherits them from the parent, and also creates the associated transforms. This behavior was not previously implemented for $config $transform.
Closes #7756

Test plan

New unit test to confirm expected behavior

@vercel

vercel Bot commented Aug 13, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
lexical ✅ Ready Preview Comment Aug 13, 2025 10:32pm
lexical-playground ✅ Ready Preview Comment Aug 13, 2025 10:32pm

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 13, 2025

@takuyakanbr takuyakanbr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix!

@etrepum
etrepum added this pull request to the merge queue Aug 13, 2025
Merged via the queue into meta:main with commit 5aa5df6 Aug 13, 2025
@etrepum etrepum mentioned this pull request Sep 5, 2025

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — e77ccdb8 Deployed Aug 13, 2025 by vercel[bot]
Preview – lexical — e77ccdb8 Deployed Aug 13, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Nested composers not running $config transforms for nodes inherited from parent

2 participants