Commit 6249a45d509 for woocommerce
commit 6249a45d50942fc06a61e77b6ab592639cc202cd
Author: Albert Juhé Lluveras <contact@albertjuhe.com>
Date: Tue Sep 22 15:23:36 2026 +0200
Remove unused blockGap support from Grouped Product: Item Label and Product Description blocks (#68947)
* Remove unused blockGap support from Product Item Label and Product Description blocks
* Add changelog
diff --git a/docs/block-development/reference/block-references.md b/docs/block-development/reference/block-references.md
index 65b54309cc0..fb865c9c7e2 100644
--- a/docs/block-development/reference/block-references.md
+++ b/docs/block-development/reference/block-references.md
@@ -244,7 +244,7 @@ Display the product title as a label or paragraph.
- **Name:** woocommerce/add-to-cart-with-options-grouped-product-item-label
- **Category:** woocommerce-product-elements
- **Ancestor:** woocommerce/add-to-cart-with-options-grouped-product-item
-- **Supports:** color (background, gradients, text), layout (selfStretch), spacing (blockGap, margin, padding), typography (fontSize, lineHeight, textAlign), ~~html~~
+- **Supports:** color (background, gradients, text), layout (selfStretch), spacing (margin, padding), typography (fontSize, lineHeight, textAlign), ~~html~~
## Grouped Product: Item Selector (Beta) - woocommerce/add-to-cart-with-options-grouped-product-item-selector
@@ -1222,7 +1222,7 @@ Displays the description of the product.
- **Name:** woocommerce/product-description
- **Category:** woocommerce
- **Ancestor:** woocommerce/single-product, woocommerce/product-template, core/post-template
-- **Supports:** align (full, wide), background (backgroundImage, backgroundSize), color (background, gradients, heading, link, text), dimensions (minHeight), interactivity (clientNavigation), layout, spacing (blockGap, margin, padding), typography (fontSize, lineHeight), ~~html~~
+- **Supports:** align (full, wide), background (backgroundImage, backgroundSize), color (background, gradients, heading, link, text), dimensions (minHeight), interactivity (clientNavigation), layout, spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
## Product Details - woocommerce/product-details
diff --git a/plugins/woocommerce/changelog/fix-remove-unnecessary-blockgap-styles b/plugins/woocommerce/changelog/fix-remove-unnecessary-blockgap-styles
new file mode 100644
index 00000000000..575a3ec55c3
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-remove-unnecessary-blockgap-styles
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Remove unused blockGap support from Product Item Label and Product Description blocks
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/product-item-label/block.json b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/product-item-label/block.json
index 3be13d4f2cb..00740a00003 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/product-item-label/block.json
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/product-item-label/block.json
@@ -24,8 +24,7 @@
},
"spacing": {
"margin": true,
- "padding": true,
- "blockGap": true
+ "padding": true
},
"typography": {
"fontSize": true,
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/product-description/block.json b/plugins/woocommerce/client/blocks/assets/js/blocks/product-description/block.json
index f17b029c0ad..d0ebce5705c 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/product-description/block.json
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/product-description/block.json
@@ -30,7 +30,6 @@
"minHeight": true
},
"spacing": {
- "blockGap": true,
"padding": true,
"margin": true,
"__experimentalDefaultControls": {