payload-plugin-lexical
payload-plugin-lexical copied to clipboard
Renaming a pasted link also modfies the link itself
Reproduce:
- Copy pasting e.g.
https://www.google.com/ - Rename the name of the link to e.g. "Google"
Problems:
- If I rename it to e.g. "Google" -> Doesn't even recognize as link anymore (not blue), since it changed the link as well
- If I ranem it to e.g. "https://www.google.com/ Google" it keeps the link and writes the word "Google" as regular word, not "inside" the link
The same thing DOES WORK with links created via the button (not pasted).
I'm using v0.6.2
I think this is related to this comment: https://github.com/facebook/lexical/pull/4203#issuecomment-1484999459
Will work on fixing that!
Great to hear 👍. And thanks for upstreaming all these improvements to Lexical itself;) Will benefit everyone...