You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
meta-claBot
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
Feb 23, 2026
An alternative approach would be that the shortcut still works in these scenarios but it would split the parent link accordingly. Might make sense in the case where AutoLinkNode is involved especially when it's marked as disabled. The transform should probably handle that edge case better (removing disabled AutoLinkNode when they are sufficiently changed to no longer parse as a link).
Might make sense in the case where AutoLinkNode is involved especially when it's marked as disabled. There transform should probably handle that edge case better (removing disabled AutoLinkNode when they are sufficiently changed to no longer parse as a link).
I think the case with AutoLinkNode disabled would be better handled in AutoLinkExtension, because now, with unlinked autolink, you can write any text inside, unlike when the node is linked. Currently, it seems that valid text checking is disabled if the node is unlinked. I think it's right to check the valid text for AutoLinkNode regardless of the linked/unlinked state
Yes, the transform in the AutoLink extension is what I was referring to in that comment. Not strictly relevant to this transform which is why I thought it made sense to approve and merge as-is
levensta
added a commit
to levensta/lexical
that referenced
this pull request
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.extended-testsRun extended e2e tests on a PR
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix for behavior where it is possible to create nested links by typing markdown link text inside LinkNode
https://spec.commonmark.org/0.31.2/#example-518
Test plan
Before
Screen.Recording.2026-02-23.at.16.54.29.mov
After
Screen.Recording.2026-02-23.at.16.56.55.mov