-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Firefox: RichText: invisible trailing <br> tags #5872
Copy link
Copy link
Closed
Labels
Browser IssuesIssues or PRs that are related to browser specific problemsIssues or PRs that are related to browser specific problems[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditableRelated to the Rich Text component that allows developers to render a contenteditable[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Milestone
Metadata
Metadata
Assignees
Labels
Browser IssuesIssues or PRs that are related to browser specific problemsIssues or PRs that are related to browser specific problems[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditableRelated to the Rich Text component that allows developers to render a contenteditable[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Issue Overview
I have a page with a number of different Heading blocks. Some of the blocks display fine on the front-end (e.g.
<h3>Some text</h3>) and other headings have an extra<br>tag included (e.g.<h3>Some text<br></h3>)These couple of headings are displaying fine

This heading has the extra

<br>tagWhen you look at the block with the extra tag, in the Visual Editor, it appears fine. If I click in the block and try to remove any extra (invisible) characters from the end, I can't.
If I switch to the Code Editor, I can see the extra
<br>tag which I never put in and I can't remove (using the Visual Editor).Steps to Reproduce (for bugs)
Expected Behavior
Headers shouldn't randomly include
<br>tagsCurrent Behavior
Headers randomly include extra markup that you can't get rid of
Gutenberg 2.5.0
Firefox Quantum 59.0.2 (64-bit)
WP 4.9.4