Bug: Link pasting using link plugin does not work across comment blocks
Open
hyperlinks
marks
playground
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 55
Description
Lexical version:
## Steps To Reproduce
1. Add a comment
2. Highlight text that includes comment node
3. Paste a link from clipboard
Link to code example:
Reproducable in the [playground](https://playground.lexical.dev/)
https://github.com/user-attachments/assets/8a76e8bb-367e-473e-ad27-ed5c167a71a1
## The current behavior
Link replaces the text
## The expected behavior
The highlighted text should be linked
## Impact of fix
Unknown but consistently reproducable.
Contributor guide
Assessment
This issue has not been assessed yet.