Skip to content

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

@lukewalczak

Description

@lukewalczak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions