Block Directory: Ensure scripts can depend on another script handles #22703
Labels
[Feature] Block Directory
Related to the Block Directory, a repository of block plugins
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Description
As of today, it's possible to install blocks listed in the Block Directory using the scripts returned by the API. However, the limitation is that those scripts can depend only on script handles that are used by the block editor. The idea is that it should be also possible to use custom script handles for those scripts and there would be a way to inject them on the frontend.
Related
Related Trac ticket: Consider a solution/endpoint to lazy-load scripts and styles
Proposed REST API endpoints: #21244
The text was updated successfully, but these errors were encountered: