diff --git a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/attributes.ts b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/attributes.ts
index d52d8097b47..29fcd924852 100644
--- a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/attributes.ts
+++ b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/attributes.ts
@@ -14,6 +14,7 @@ export const blockAttributes: BlockAttributes = {
},
textAlign: {
type: 'string',
+ default: 'center',
},
};
diff --git a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/edit.tsx b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/edit.tsx
index c3e77eef7bb..968107d1a72 100644
--- a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/edit.tsx
+++ b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/edit.tsx
@@ -59,14 +59,12 @@ const PriceEdit = ( {
return (
<>
- { isDescendentOfQueryLoop && (
- {
- setAttributes( { textAlign } );
- } }
- />
- ) }
+ {
+ setAttributes( { textAlign } );
+ } }
+ />
diff --git a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/rating/attributes.ts b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/rating/attributes.ts
index 5d621390109..4ab1d940383 100644
--- a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/rating/attributes.ts
+++ b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/rating/attributes.ts
@@ -14,7 +14,7 @@ export const blockAttributes: BlockAttributes = {
},
textAlign: {
type: 'string',
- default: '',
+ default: 'center',
},
};
diff --git a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/rating/edit.tsx b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/rating/edit.tsx
index d08fbd1aba4..1414cb579f0 100644
--- a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/rating/edit.tsx
+++ b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/rating/edit.tsx
@@ -42,14 +42,12 @@ const Edit = ( {
return (
<>
- { isDescendentOfQueryLoop && (
- {
- setAttributes( { textAlign: newAlign || '' } );
- } }
- />
- ) }
+ {
+ setAttributes( { textAlign: newAlign || '' } );
+ } }
+ />