File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/block-editor/src/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,16 +79,16 @@ export function hasPatternOverridesDefaultBinding( bindings ) {
79
79
}
80
80
81
81
/**
82
- * Returns the bindings with the `__default` binding for pattern overrides
83
- * replaced with the full- set of supported attributes. e.g.:
82
+ * Returns bindings with the `__default` binding replaced with the
83
+ * full set of supported attributes. e.g.:
84
84
*
85
85
* - bindings passed in: `{ __default: { source: 'core/pattern-overrides' } }`
86
86
* - bindings returned: `{ content: { source: 'core/pattern-overrides' } }`
87
87
*
88
88
* @param {string } blockName The block name (e.g. 'core/paragraph').
89
89
* @param {?Record<string, object> } bindings A block's bindings from the metadata attribute.
90
90
*
91
- * @return {Object } The bindings with default replaced for pattern overrides .
91
+ * @return {Object } The bindings with default replaced by full set of supported attributes .
92
92
*/
93
93
export function replacePatternOverridesDefaultBinding ( blockName , bindings ) {
94
94
const supportedAttributes = BLOCK_BINDINGS_ALLOWED_BLOCKS [ blockName ] ;
You can’t perform that action at this time.
0 commit comments