From 5a4c53df0703bec6acf241ad9803ec8ef6a12910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Su=C3=A1rez?= Date: Mon, 1 Apr 2024 11:41:30 +0100 Subject: [PATCH] update doc comments --- packages/block-editor/src/hooks/use-bindings-attributes.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/src/hooks/use-bindings-attributes.js b/packages/block-editor/src/hooks/use-bindings-attributes.js index bcf43478989ff9..ab310ac5b8b47b 100644 --- a/packages/block-editor/src/hooks/use-bindings-attributes.js +++ b/packages/block-editor/src/hooks/use-bindings-attributes.js @@ -183,8 +183,9 @@ function BlockBindingBridge( { blockProps, bindings, onPropValueChange } ) { ).getAllBlockBindingsSources(); /* - * Create binding object filtering - * only the attributes that can be bound. + * Create allow binding object, + * filtering only the valid bindings, + * and populating the source handler. */ const allowBindings = Object.entries( bindings ).reduce( ( acc, [ attrName, settings ] ) => {