#59797 closed enhancement (fixed)
Blocks: Add new global attribute `metadata`
Reported by: | Bernhard Reiter | Owned by: | Bernhard Reiter |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | 6.4 |
Component: | Editor | Keywords: | has-patch has-unit-tests add-to-field-guide |
Focuses: | Cc: |
Description
For use cases such as allowing the user to 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.
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 57068: