Skip to content

A meta tag is inserted when copy pasting a link #33585

@talldan

Description

@talldan

Step-by-step reproduction instructions

  1. Add a link inside a paragraph block
  2. Copy the link
  3. Paste the link (inside the same block is fine)
  4. See that a <meta charset="utf-8"> element has been inserted into the paragraph block.

Expected behaviour

Only the link is pasted

Actual behaviour

Meta tag is pasted along with the link

Screenshots or screen recording (optional)

The console outputs the following when pasting
Screenshot 2021-07-21 at 1 42 00 pm

WordPress information

  • WordPress version: 5.7
  • Gutenberg version: 11.1

Device information

  • Operating system: Mac OS
  • Browser: Brave

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions