Skip to content

Commit

Permalink
Remove clear media button from setting panel
Browse files Browse the repository at this point in the history
  • Loading branch information
akasunil committed Aug 22, 2024
1 parent 211a5f2 commit 7a50d21
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/block-library/src/cover/edit/inspector-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,19 +324,6 @@ export default function CoverInspectorControls( {
/>
</ToolsPanelItem>
) }
<ToolsPanelItem
hasValue={ () => !! url }
isShownByDefault
>
<Button
variant="secondary"
size="small"
className="block-library-cover__reset-button"
onClick={ onClearMedia }
>
{ __( 'Clear Media' ) }
</Button>
</ToolsPanelItem>
{ ! useFeaturedImage && !! imageSizeOptions.length && (
<ResolutionTool
value={ sizeSlug }
Expand Down

0 comments on commit 7a50d21

Please sign in to comment.