[wp-trac] [WordPress Trac] #60233: Support module metadata in block.json
WordPress Trac
noreply at wordpress.org
Thu Feb 8 10:39:40 UTC 2024
#60233: Support module metadata in block.json
-------------------------+------------------------------
Reporter: jonsurrell | Owner: gziolo
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Changes (by gziolo):
* owner: (none) => gziolo
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"57565" 57565]:
{{{
#!CommitTicketReference repository="" revision="57565"
Editor: Add `viewScriptModule` handling to `block.json` metadata
Syncing changes from the Gutenberg plugin:
https://github.com/WordPress/gutenberg/pull/57437.
Scripts and styles can be registered for blocks via `block.json` metadata.
There is now a Modules API, but was no way to register or associate module
assets with blocks via `block.json`.
Fixes #60233.
Props jonsurrell, gziolo, cbravobernal, luisherranz, youknowriad.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60233#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list