You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Block Directory: Ensure scripts can depend on another script handles #22703
[Feature] Block DirectoryRelated to the Block Directory, a repository of block plugins[Type] TaskIssues or PRs that have been broken down into an individual action to take
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.
I think this is not an issue anymore after #22721/#23407 and #24117 — assets are pulled from a separate editor page so that all dependencies and inline scripts are loaded. If I'm misunderstanding the original issue, it can be reopened.
[Feature] Block DirectoryRelated to the Block Directory, a repository of block plugins[Type] TaskIssues or PRs that have been broken down into an individual action to take
Activity
spacedmonkey commentedon May 28, 2020
Something like this could work really well
StevenDufresne commentedon May 29, 2020
What would be an example scenario that we are prepping for?
ryelle commentedon Jan 15, 2021
I think this is not an issue anymore after #22721/#23407 and #24117 — assets are pulled from a separate editor page so that all dependencies and inline scripts are loaded. If I'm misunderstanding the original issue, it can be reopened.
gziolo commentedon Jan 15, 2021
Sounds good. I haven't seen some of the PRs referenced. If there is more work necessary, we can always file a more targeted issue.