Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#46321 new defect (bug)

rel="noopener noreferrer"

Reported by: berginformatik's profile berginformatik Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

It seems that version 5.1 adds noopener noreferrer to all links automatically. When i save blocks, they always crash beacause of this new feature. This happens, because when i save a block, it adds automatically rel="noopener noreferrer" to any of my a links. Then back in editor, the block breaks because the editor expects the rel value, but that value is no present.

in js console, i can see that the expected and actual difference is just missing the rel value. Funny is, when i check the differenc in editor mode with the diff tool, there is no difference. At this point, the rel value is added to all of the links.

Attachments (2)

console.png (232.2 KB) - added by berginformatik 6 years ago.
In console the rel attribute is not present
editmode.png (178.7 KB) - added by berginformatik 6 years ago.
in editmode diff tool, the rel is present

Download all attachments as: .zip

Change History (3)

@berginformatik
6 years ago

In console the rel attribute is not present

@berginformatik
6 years ago

in editmode diff tool, the rel is present

#1 @TobiasBg
6 years ago

Related: #46316

Note: See TracTickets for help on using tickets.