Skip to content

Commit b96f57d

Browse files
ntsekourasockhamMamadukacbravobernalellatrix
authored andcommitted
Block Bindings: Add in preview context (#72625)
Co-authored-by: ntsekouras <[email protected]> Co-authored-by: ockham <[email protected]> Co-authored-by: Mamaduka <[email protected]> Co-authored-by: cbravobernal <[email protected]> Co-authored-by: ellatrix <[email protected]>
1 parent 289102f commit b96f57d

File tree

1 file changed

+1
-1
lines changed
  • packages/block-editor/src/components/block-list

1 file changed

+1
-1
lines changed

packages/block-editor/src/components/block-list/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ function BlockListBlockProvider( props ) {
633633
: undefined,
634634
blockTitle: blockType?.title,
635635
isBlockHidden: attributes?.metadata?.blockVisibility === false,
636+
bindableAttributes,
636637
};
637638

638639
// When in preview mode, we can avoid a lot of selection and
@@ -718,7 +719,6 @@ function BlockListBlockProvider( props ) {
718719
? blocksWithSameName[ 0 ]
719720
: false,
720721
isBlockHidden: _isBlockHidden( clientId ),
721-
bindableAttributes,
722722
};
723723
},
724724
[ clientId, rootClientId ]

0 commit comments

Comments
 (0)