facebook / lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
https://lexical.dev
MIT License
19.95k stars 1.7k forks source link

Bug: [lexical-link] can't add link successful #6821

Open leiyourong opened 1 week ago

leiyourong commented 1 week ago

Lexical version: v0.20.0

Steps To Reproduce

  1. Go to lexical playground
  2. Type in any word inside the table
  3. Click link toolbar, type in any url and then click confirm ##button
  4. After that, type in any word outside the table
  5. Click link toolbar, type in any url and then click confirm button

The current behavior

the links inside and outside table are reset to 'https://' https://github.com/user-attachments/assets/8ecf15aa-04eb-48c1-867e-6e0d90a33c4e

The expected behavior

set correct url to link

YabeeKim commented 13 hours ago

I also have a similar issue where the URL was not saved while using the collaboration plugin.