Skip to content

Improper formatting in editor in case of pasting a text that contains an email address or URL #885

Closed
@rolandpakai

Description

@rolandpakai

Prelude

The issue was introduce by the following commit:
"Adds a way to correct paste behavior of an URL"
32040b8

User story

Pasting text from the clipboard which contains url(s) or email(s) the first one is automatically moving to the beginning of the paragraph replacing with an anchor link. The other ones just stay untached.

The issue is only reproducable when copying text from the clipboard

  • which has url(s) or email(s)
  • and not contains new lines
  • and the text is not copied from the editor itself.

When typeing text in the editor the url(s) or email(s) are replacing with anchor links correctly.

Acceptance Criteria

Pasting text from the clipboard which contains url(s) or email(s) all the url(s) and email(s) should be replaced with anchor links and it should be replaced in place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions