[wp-trac] [WordPress Trac] #56058: Backport bug fixes from Gutenberg into Core for WP 6.0.1

WordPress Trac noreply at wordpress.org
Thu Jun 23 23:07:26 UTC 2022


#56058: Backport bug fixes from Gutenberg into Core for WP 6.0.1
----------------------------+---------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  6.0.1
Component:  Editor          |     Version:  6.0
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"53568" 53568]:
 {{{
 #!CommitTicketReference repository="" revision="53568"
 Editor: Add utility classnames back to blocks that have layout attributes
 specified.

 [https://github.com/WordPress/gutenberg/issues/38719 In 5.9 these utility
 classnames were removed], which removed the ability for theme/plugin
 authors to assign their own custom CSS related to specific layout
 selections. This was mostly related to the Button block.

 This commit adds these classes dynamically based on attributes, rather
 than saving them to the serialized content.

 Original PR from Gutenberg repository:
 * [https://github.com/WordPress/gutenberg/pull/41487 #41487 Add utility
 classnames back to blocks that have layout attributes specified]

 Props glendaviesnz, peterwilsoncc, andrewserong, zieladam, matveb,
 samikeijonen.
 See #56058.
 }}}

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


More information about the wp-trac mailing list