This commit is contained in:
Luigi Teschio 2022-12-14 13:26:06 +01:00 committed by GitHub
parent 05b1b0f32f
commit 9be9e6b010
8 changed files with 15 additions and 15 deletions

View File

@ -21,8 +21,8 @@ const blockConfig = {
title,
description,
ancestor: [
'@woocommerce/all-products',
'@woocommerce/single-product',
'woocommerce/all-products',
'woocommerce/single-product',
'core/post-template',
],
usesContext: [ 'query', 'queryId', 'postId' ],

View File

@ -32,8 +32,8 @@ const blockConfig: CustomBlockConfiguration = {
description,
usesContext: [ 'query', 'queryId', 'postId' ],
ancestor: [
'@woocommerce/all-products',
'@woocommerce/single-product',
'woocommerce/all-products',
'woocommerce/single-product',
'core/post-template',
],
textdomain: 'woo-gutenberg-products-block',

View File

@ -22,8 +22,8 @@ const blockConfig = {
title,
description,
ancestor: [
'@woocommerce/all-products',
'@woocommerce/single-product',
'woocommerce/all-products',
'woocommerce/single-product',
'core/post-template',
],
usesContext: [ 'query', 'queryId', 'postId' ],

View File

@ -23,8 +23,8 @@ const blockConfig: BlockConfiguration = {
description,
usesContext: [ 'query', 'queryId', 'postId' ],
ancestor: [
'@woocommerce/all-products',
'@woocommerce/single-product',
'woocommerce/all-products',
'woocommerce/single-product',
'core/post-template',
],
icon: { src: icon },

View File

@ -28,8 +28,8 @@ const blockConfig: BlockConfiguration = {
edit,
usesContext: [ 'query', 'queryId', 'postId' ],
ancestor: [
'@woocommerce/all-products',
'@woocommerce/single-product',
'woocommerce/all-products',
'woocommerce/single-product',
'core/post-template',
],
};

View File

@ -28,7 +28,7 @@ const sharedConfig: Omit< BlockConfiguration, 'attributes' | 'title' > = {
supports: {
html: false,
},
ancestor: [ '@woocommerce/all-products', '@woocommerce/single-product' ],
ancestor: [ 'woocommerce/all-products', 'woocommerce/single-product' ],
save,
deprecated: [
{

View File

@ -23,8 +23,8 @@ const blockConfig: BlockConfiguration = {
icon: { src: icon },
usesContext: [ 'query', 'queryId', 'postId' ],
ancestor: [
'@woocommerce/all-products',
'@woocommerce/single-product',
'woocommerce/all-products',
'woocommerce/single-product',
'core/post-template',
],
attributes,

View File

@ -29,8 +29,8 @@ const blockConfig: BlockConfiguration = {
edit,
usesContext: [ 'query', 'queryId', 'postId' ],
ancestor: [
'@woocommerce/all-products',
'@woocommerce/single-product',
'woocommerce/all-products',
'woocommerce/single-product',
'core/post-template',
],
};