diff --git a/packages/block-library/src/block/edit.js b/packages/block-library/src/block/edit.js index cd04e09605ff40..8e996fa1ae0a4c 100644 --- a/packages/block-library/src/block/edit.js +++ b/packages/block-library/src/block/edit.js @@ -14,6 +14,7 @@ import { Spinner, ToolbarButton, ToolbarGroup, + Tooltip, } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { @@ -29,6 +30,7 @@ import { } from '@wordpress/block-editor'; import { privateApis as patternsPrivateApis } from '@wordpress/patterns'; import { parse, cloneBlock } from '@wordpress/blocks'; +import { lock, Icon } from '@wordpress/icons'; /** * Internal dependencies @@ -348,18 +350,29 @@ export default function ReusableBlockEdit( { return ( - { userCanEdit && editOriginalProps && ( - - + + + { userCanEdit && editOriginalProps && ( { __( 'Edit original' ) } - - - ) } + ) } + { ! userCanEdit && ( + +
+ +
+
+ ) } +
+
{ hasOverridableBlocks && (