From 1512311cb388cbd3ba965bc7674a7e5ba744d573 Mon Sep 17 00:00:00 2001 From: Mario Santos <34552881+SantosGuillamot@users.noreply.github.com> Date: Fri, 18 Oct 2024 16:23:35 +0200 Subject: [PATCH] Add `attribute` to dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Greg Ziółkowski --- packages/block-editor/src/hooks/block-bindings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/hooks/block-bindings.js b/packages/block-editor/src/hooks/block-bindings.js index 45e0a0fc8b3556..694c9c1c0bb3cc 100644 --- a/packages/block-editor/src/hooks/block-bindings.js +++ b/packages/block-editor/src/hooks/block-bindings.js @@ -64,7 +64,7 @@ function BlockBindingsPanelDropdown( { fieldsList, attribute, binding } ) { getBlockType( blockName ).attributes?.[ attribute ]?.type; return _attributeType === 'rich-text' ? 'string' : _attributeType; }, - [ clientId ] + [ clientId, attribute ] ); return ( <>