[wp-trac] [WordPress Trac] #53809: Twenty Twenty-One default image alignment in editor

WordPress Trac noreply at wordpress.org
Sat Sep 25 11:15:09 UTC 2021


#53809: Twenty Twenty-One default image alignment in editor
-------------------------------------+---------------------
 Reporter:  ashfame                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.9
Component:  Bundled Theme            |     Version:
 Severity:  trivial                  |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  css
-------------------------------------+---------------------
Changes (by sabernhardt):

 * keywords:  has-patch dev-feedback needs-testing => has-patch needs-
               testing
 * milestone:  Awaiting Review => 5.9


Comment:

 Thanks for the report and patch!

 Because `.wp-block-image > div` was necessary for an earlier version of
 the block editor (and might be again), I prefer adding the `.wp-block-
 image` selector instead of replacing the other.

 {{{
 .wp-block-image,
 .wp-block-image > div {
         text-align: center;
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53809#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list