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

WordPress Trac noreply at wordpress.org
Wed Oct 19 13:10:22 UTC 2022


#56852: Support IDs in block wrapper attributes
-------------------------+-----------------------------
 Reporter:  Soean        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Editor       |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 At the moment dynamic rendered blocks don't support
 [[https://developer.wordpress.org/block-editor/reference-guides/block-api
 /block-supports/#anchor|anchors]].

 To enable this support, we need to add this feature to the Editor and add
 the ''id'' in ''get_block_wrapper_attributes()'' to the block.

 I already created a PR to add this support to the editor:
 https://github.com/WordPress/gutenberg/pull/44771

 This ticket is for adding it to the renderd block HTML.

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


More information about the wp-trac mailing list