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

Copying link from the clipboard doesn't work properly #1885

Closed
lukewalczak opened this issue Feb 12, 2020 · 3 comments
Closed

Copying link from the clipboard doesn't work properly #1885

lukewalczak opened this issue Feb 12, 2020 · 3 comments
Labels
[Type] Bug Something isn't working

Comments

@lukewalczak
Copy link
Contributor

Describe the bug

When copying the link from the clipboard into link settings the whole sentence is passed into the URL field instead of just link.

For example:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris http://loremipsum.com

The whole text is pasted in URL field.

To Reproduce
Steps to reproduce the behavior:

  1. Copy text with link from somewhere, e.g text above
  2. Add Paragraph or Button block
  3. Click on link settings button
  4. Notice that whole text is pasted

Expected behavior

The only link should be pasted.

Screenshots
link_bug

Smartphone (please complete the following information):

  • Device: simulator iPhone 11
  • OS: 13.1
@hypest
Copy link
Contributor

hypest commented Feb 28, 2020

👋 @SergioEstevao , can you have a look at this one? Seems related to WordPress/gutenberg#18279, though not sure if it's a regression or not.

@lukewalczak
Copy link
Contributor Author

lukewalczak commented Feb 28, 2020

🙈 Actually, I forgot about that issue but looks like it's solved via WordPress/gutenberg#20172

@lukewalczak
Copy link
Contributor Author

Tested during work over extending the Button auto-filling link into settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants