[wp-trac] [WordPress Trac] #60403: General: Add `allowed_blocks` field to block types
WordPress Trac
noreply at wordpress.org
Fri Feb 2 12:59:38 UTC 2024
#60403: General: Add `allowed_blocks` field to block types
-------------------------+------------------------------
Reporter: jsnajdr | Owner: gziolo
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Changes (by gziolo):
* owner: (none) => gziolo
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"57521" 57521]:
{{{
#!CommitTicketReference repository="" revision="57521"
Editor: Add `allowed_blocks` field to block registration and REST API
There is a new block.json field called allowedBlocks, added in Gutenberg
in https://github.com/WordPress/gutenberg/pull/58262. This adds support
for this new field also on the server.
Props: gziolo, jsnajdr.
Fixes #60403.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60403#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list