diff --git a/packages/block-editor/src/hooks/style.js b/packages/block-editor/src/hooks/style.js
index c0410a7c7b92f9..5fe41775a51ee0 100644
--- a/packages/block-editor/src/hooks/style.js
+++ b/packages/block-editor/src/hooks/style.js
@@ -243,9 +243,7 @@ export const withBlockControls = createHigherOrderComponent(
const withElementsStyles = createHigherOrderComponent(
( BlockListBlock ) => ( props ) => {
const elements = props.attributes.style?.elements;
- if ( ! elements ) {
- return ;
- }
+
const blockElementsContainerIdentifier = `wp-elements-${ useInstanceId(
BlockListBlock
) }`;
@@ -256,17 +254,23 @@ const withElementsStyles = createHigherOrderComponent(
return (
<>
-
+ { elements && (
+
+ ) }
+
>
);