Skip to content

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

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

etrepum merged 6 commits into
meta:mainfrom
achaljhawar:feat/link-node-merge

Conversation

@achaljhawar

Copy link
Copy Markdown
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

vercel Bot commented Mar 18, 2026 •

Copy link
Copy Markdown

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 meta:main with commit bf5843b Mar 19, 2026
35 checks passed
@etrepum etrepum mentioned this pull request Mar 19, 2026

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 9ac267bd Deployed Mar 19, 2026 by vercel[bot]
Preview – lexical — 9ac267bd Deployed Mar 19, 2026 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.

Feature: Merging two identical links into one node

2 participants