Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming a pasted link also modfies the link itself #23

Open
johannesschaffer opened this issue Apr 24, 2023 · 2 comments
Open

Renaming a pasted link also modfies the link itself #23

johannesschaffer opened this issue Apr 24, 2023 · 2 comments

Comments

@johannesschaffer
Copy link

johannesschaffer commented Apr 24, 2023

Reproduce:

  1. Copy pasting e.g. https://www.google.com/
  2. 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

@AlessioGr
Copy link
Owner

I think this is related to this comment: facebook/lexical#4203 (comment)

Will work on fixing that!

@johannesschaffer
Copy link
Author

Great to hear 👍. And thanks for upstreaming all these improvements to Lexical itself;) Will benefit everyone...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants