forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block Bindings: Improve how the context needed by sources is extended…
… in the editor (WordPress#63513) * Move bindings registration to editor provider * Remove sources from editor provider * Create `registerCoreBlockBindingsSources` function * Add `updateBlockBindingsSource` action * Bootstrap sources defined in the server * Change registration to allow server bootstrap * Remove label from post meta and pattern overrides * Remove `updateBlockBindingsSource` * Use `bootstrapBlockBindingsSource` instead * Wrap server registration in the same function * Change how label is managed * Remove type from object * Add usesContext to the store * Handle usesContext validation * Merge usesContext and add tests * Read `usesContext` during bindings processing * Adapt code after rebase * More changes after rebase * Adapt unit test * Adapt unit tests Co-authored-by: SantosGuillamot <[email protected]> Co-authored-by: artemiomorales <[email protected]> Co-authored-by: gziolo <[email protected]>
- Loading branch information
1 parent
85db58f
commit ab9e132
Showing
5 changed files
with
125 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters