Skip to content

Commit

Permalink
Remove name edit
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Dec 8, 2023
1 parent 676b050 commit 26d3e01
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/block-library/src/block/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import { useEntityProp, useEntityRecord } from '@wordpress/core-data';
import {
Placeholder,
Spinner,
TextControl,
PanelBody,
ToolbarButton,
ToolbarGroup,
} from '@wordpress/components';
Expand All @@ -23,7 +21,6 @@ import {
__experimentalRecursionProvider as RecursionProvider,
__experimentalUseHasRecursion as useHasRecursion,
InnerBlocks,
InspectorControls,
useBlockProps,
Warning,
privateApis as blockEditorPrivateApis,
Expand Down Expand Up @@ -289,17 +286,6 @@ export default function ReusableBlockEdit( {
</ToolbarGroup>
</BlockControls>
) }
<InspectorControls>
<PanelBody>
<TextControl
label={ __( 'Name' ) }
value={ title }
onChange={ setTitle }
__nextHasNoMarginBottom
__next40pxDefaultSize
/>
</PanelBody>
</InspectorControls>
{ children === null ? (
<div { ...innerBlocksProps } />
) : (
Expand Down

0 comments on commit 26d3e01

Please sign in to comment.