[wp-trac] [WordPress Trac] #56852: Support IDs in block wrapper attributes

WordPress Trac noreply at wordpress.org
Wed Mar 1 15:03:38 UTC 2023


#56852: Support IDs in block wrapper attributes
---------------------------------------+-----------------------
 Reporter:  Soean                      |       Owner:  flixos90
     Type:  enhancement                |      Status:  reopened
 Priority:  normal                     |   Milestone:  6.3
Component:  Editor                     |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch gutenberg-merge  |     Focuses:
---------------------------------------+-----------------------

Comment (by hellofromTonya):

 In [changeset:"55443" 55443]:
 {{{
 #!CommitTicketReference repository="" revision="55443"
 Editor: Partial revert of r55230.

 [55230] introduced a regression to the content markup. This changeset is a
 partial revert to remove the added `wp-includes/block-supports/anchor.php`
 file.

 The change of adding `'id'` to `$attributes_to_merge` in
 `get_block_wrapper_attributes()` is not reverted as this change did not
 impact the regression and helps to support continue development in
 Gutenberg for the anchor support in dynamic blocks feature.

 Reference:
 * [https://github.com/WordPress/gutenberg/pull/48592 Gutenberg PR 48592].

 Follow-up [55230].

 Props wildworks, mamaduka, hellofromTonya.
 Fixes #57830.
 See #56852.
 }}}

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


More information about the wp-trac mailing list