[wp-trac] [WordPress Trac] #60292: Layout: backport fix to ensure blocks without layout support do not receive layout classnames

WordPress Trac noreply at wordpress.org
Fri Jan 19 01:49:26 UTC 2024


#60292: Layout: backport fix to ensure blocks without layout support do not receive
layout classnames
--------------------------+-----------------------------
 Reporter:  andrewserong  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.5
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:  gutenberg-merge
  Focuses:                |
--------------------------+-----------------------------
 This ticket is to track backporting a fix from the Gutenberg repo, which
 landed in https://github.com/WordPress/gutenberg/pull/56187 :

 Prevent layout classnames from being output on blocks where there is no
 layout support and child layout classnames are not being output. An
 example is a paragraph that is a child of a group block, and that has
 selfStretch set to fit. In this case, no layout classnames should be added
 to the paragraph block, but prior to
 https://github.com/WordPress/gutenberg/pull/56187 they were being added
 unexpectedly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60292>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list