Open burnuser opened 2 years ago
This is still present in WP6.3.
When a background is added in the page editor the paragraph receives additional style classes, including .has-background
.
This then applies the style:
p.has-background {
padding: 1.25em 2.375em;
}
But when adding the background through global styles - no additional classes are added to the element.
Description
Test with 5.9-RC3 and Twenty Twenty-Two: Asigning a background color in Styles => Blocks => Paragraph works Asigning a background color in Pages => Edit => Paragraph works But the result in the created webpage is different (see attached screenshot)
as reported in Core Trac: https://core.trac.wordpress.org/ticket/54865
Step-by-step reproduction instructions
see description above
Screenshots, screen recording, code snippet
No response
Environment info
No response
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