Single Product Block: Add missing allowed inner blocks to fix nesting placement restrictions (#45530)
* Add missing allowed inner blocks to Single Product block * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Remove unnecessary attribute from Single Product block template --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
39ecfece30
commit
207a5b43d2
|
@ -78,5 +78,9 @@ export const DEFAULT_INNER_BLOCKS: InnerBlockTemplate[] = [
|
|||
export const ALLOWED_INNER_BLOCKS = [
|
||||
'core/columns',
|
||||
'core/column',
|
||||
'core/post-title',
|
||||
'core/post-excerpt',
|
||||
'woocommerce/add-to-cart-form',
|
||||
'woocommerce/product-meta',
|
||||
...Object.keys( getBlockMap( metadata.name ) ),
|
||||
];
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Fix issue preventing some blocks from being direct children of the Single Product block.
|
Loading…
Reference in New Issue