[CFT Custom fields]: Remove horizontal separator that initially appears (#46682)

* Remove block appender below the custom fields block

* Add changelog files
This commit is contained in:
Maikel Perez 2024-04-17 13:40:10 -04:00 committed by GitHub
parent b530a6e9dd
commit 24306bf0bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Remove block appender below the custom fields block

View File

@ -30,7 +30,10 @@ export function Edit( {
className: className:
'wp-block-woocommerce-product-custom-fields-toggle-field__inner-blocks', 'wp-block-woocommerce-product-custom-fields-toggle-field__inner-blocks',
}, },
{ templateLock: 'all' } {
templateLock: 'all',
renderAppender: false,
}
); );
const { isLoading, metaboxhiddenProduct, saveMetaboxhiddenProduct } = const { isLoading, metaboxhiddenProduct, saveMetaboxhiddenProduct } =