[wp-trac] [WordPress Trac] #56218: wp-block-columns no margins or padding in WordPress 6

WordPress Trac noreply at wordpress.org
Thu Jul 14 11:23:25 UTC 2022


#56218: wp-block-columns no margins or padding in WordPress 6
--------------------------+-----------------------------
 Reporter:  XyZed         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.0
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This issue has been recreated in 4 different themes, Twenty Twenty-Two,
 Astra, & 2 Genesis themes. Also, with all plugins disabled, and all caches
 cleared.

 I've been using the div class="wp-block-columns" markup via the code
 editor on over 300 articles on my WordPress site. I originally copied all
 of the markup directly from the WordPress block editor, so it was totally
 valid markup.

 Everything worked fine through several WordPress updates, until WordPress
 6. Now, when using WordPress 6, this markup no longer styles the block
 columns, and all columns merge into one block and lose their margins and
 padding.

 If I look at the current WordPress 6 block editor columns markup, it has
 changed, and now has the markup enclosed in several “remarks” – eg. `<!–
 wp:columns –>
 <div class=”wp-block-columns”><!– wp:column –>`

 So this shows that WordPress 6 has changed how it deals with wp-block-
 columns markup, but has not ensured backward compatibility with the
 previous markup. This essentially breaks my website, so I am unable to
 update to WordPress 6.

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


More information about the wp-trac mailing list