From f61b7f32d75f86b9a2cf8941cf22468feabf2812 Mon Sep 17 00:00:00 2001 From: shimotmk Date: Wed, 22 Jul 2026 20:33:21 +0900 Subject: [PATCH] Remove default paragraph from tab-panel template The default paragraph block placeholder for the tab panel template is the same as the default, so it is unnecessary. I have removed it to simplify the code. --- packages/block-library/src/tab-panel/edit.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/block-library/src/tab-panel/edit.js b/packages/block-library/src/tab-panel/edit.js index ed6081810b633a..0f2ee0ccfc58e7 100644 --- a/packages/block-library/src/tab-panel/edit.js +++ b/packages/block-library/src/tab-panel/edit.js @@ -1,7 +1,6 @@ /** * WordPress dependencies */ -import { __ } from '@wordpress/i18n'; import { useBlockProps, useInnerBlocksProps, @@ -15,14 +14,7 @@ import { useEffect } from '@wordpress/element'; */ import Controls from './controls'; -const TEMPLATE = [ - [ - 'core/paragraph', - { - placeholder: __( 'Type / to choose a block' ), - }, - ], -]; +const TEMPLATE = [ [ 'core/paragraph' ] ]; export default function Edit( { clientId, isSelected } ) { const {