Skip to content

Copy/pasting a link from plain text causes autolinking to not work #57487

Closed
@annezazu

Description

Description

If you paste some text and a link from plain text into Gutenberg and then try to apply the link with a copy/paste onto the text itself, it fails and instead just replaces the text.

Step-by-step reproduction instructions

  1. Write some text with a link in plain text.
  2. Copy and paste it into a new post.
  3. Copy the link you added and paste it over the text.
  4. Notice it doesn't link and instead overwrites the text.

Screenshots, screen recording, code snippet

pasting.fail.mov

Environment info

  • WP 6.4.2
  • GB 17.3
  • TT4

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Activity

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

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions