diff --git a/packages/block-library/src/html/edit.js b/packages/block-library/src/html/edit.js index 0004d72601b76b..206ccbac5cca21 100644 --- a/packages/block-library/src/html/edit.js +++ b/packages/block-library/src/html/edit.js @@ -76,10 +76,20 @@ class HTMLEdit extends Component { { ( isDisabled ) => isPreview || isDisabled ? ( - + <> + + { /* + An overlay is added when the block is not selected in order to register click events. + Some browsers do not bubble up the clicks from the sandboxed iframe, which makes it + difficult to reselect the block. + */ } + { ! this.props.isSelected && ( +
+ ) } + ) : (