[wp-trac] [WordPress Trac] #59797: Blocks: Add new global attribute `metadata`

WordPress Trac noreply at wordpress.org
Thu Nov 2 16:23:45 UTC 2023


#59797: Blocks: Add new global attribute `metadata`
-----------------------------+-----------------------------
 Reporter:  Bernhard Reiter  |      Owner:  Bernhard Reiter
     Type:  enhancement      |     Status:  assigned
 Priority:  normal           |  Milestone:  6.5
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 For use cases such as allowing the user to
 [https://make.wordpress.org/core/2023/10/25/whats-new-in-
 gutenberg-16-9-25-october-2/#rename-almost-all-blocks-from-the-editor
 assign custom names to blocks] or for making Block Hooks work with user-
 modified templates/parts/patterns (#59646), there's a requirement for a
 new global attribute (i.e. an attribute that can be added to all and any
 blocks) to hold that sort of `metadata`.

 Originally reported by @get_dave in
 https://github.com/WordPress/gutenberg/issues/55194.

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


More information about the wp-trac mailing list