Skip to content

[lexical-link] Feature : Merge adjacent LinkNodes with identical attributes#8236

Merged
etrepum merged 6 commits intofacebook:mainfrom
achaljhawar:feat/link-node-merge
Mar 19, 2026
Merged

[lexical-link] Feature : Merge adjacent LinkNodes with identical attributes#8236
etrepum merged 6 commits intofacebook:mainfrom
achaljhawar:feat/link-node-merge

Conversation

@achaljhawar
Copy link
Contributor

Description

Adjacent LinkNodes with identical attributes (url, target, rel, title) are now automatically merged into a single node via the existing $linkNodeTransform

Closes #8150

Test plan

Before

Lexical.Playground.9.mp4

After

Lexical.Playground.8.mp4

@vercel
Copy link

vercel bot commented Mar 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview, Comment Mar 19, 2026 0:06am
lexical-playground Ready Ready Preview, Comment Mar 19, 2026 0:06am

Request Review

@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 Mar 18, 2026
@etrepum etrepum added this pull request to the merge queue Mar 19, 2026
Merged via the queue into facebook:main with commit bf5843b Mar 19, 2026
37 checks passed
@etrepum etrepum mentioned this pull request Mar 19, 2026
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.

Feature: Merging two identical links into one node

2 participants