<p> Tags in <h> after Update

Hi,
after the last update,

tags are automatically nested within the tags in the headline-element editor and they can’t be deleted. Is this a bug or a feature? Just asking because it can destroy some Layouts.

As I’ve seen in another post I can terminate them with
.x-text-headline p {
margin: 0 !important;
}

but it makes no sense for me why they are new in this version and it is just more work. Is there a reason for?
Wordpress Version 5.2.2
X-Pro 2.5.5

Thank you!

Hey @ronaldo304,

What you described is a feature of WordPress Rich Text editor. Please edit the Headline element and remove the p tags. Do not switch back to the Rich Text editor because that will wrap each line of text in p tags.

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.