[wp-trac] [WordPress Trac] #54204: Twenty Twenty-One: <button>s are not styled in block editor

WordPress Trac noreply at wordpress.org
Fri Jul 15 08:15:24 UTC 2022

#54204: Twenty Twenty-One: <button>s are not styled in block editor
 Reporter:  zebulan                      |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Future Release
Component:  Bundled Theme                |     Version:  5.8.1
 Severity:  normal                       |  Resolution:
 Keywords:  has-screenshots needs-patch  |     Focuses:  css

Comment (by poena):

 I tested in 5.3, 5.6 and 6.0.

 -From 5.6, HTML buttons in the front and in the editor look like plain
 browser default HTML buttons, and does not have the spacing and colors
 that the button block does.
 -In 6.0, there is a text alignment issue in the editor where the text
 inside the button is at the bottom of the button instead of centered.

 I did not go as far as to track down the change, I suspect it would have
 been because the style bled into the WordPress editor UI buttons.

Ticket URL: <https://core.trac.wordpress.org/ticket/54204#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list