[wp-trac] [WordPress Trac] #55531: Make block type aware of ancestor prop

WordPress Trac noreply at wordpress.org
Tue Apr 5 17:16:56 UTC 2022


#55531: Make block type aware of ancestor prop
-------------------------+-----------------------------
 Reporter:  darerodz     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Editor       |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The `ancestor` prop was recently added to the block.json schema, in
 Gutenberg.

 This new field should be handled in the `WP_Block_Type` class, in the REST
 API endpoint for block types, and ensure it gets exposed in the
 `get_block_editor_server_block_settings` function.

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


More information about the wp-trac mailing list