diff --git a/packages/block-library/src/image/image.js b/packages/block-library/src/image/image.js index f99c8d2fa952f1..b74079b2b8b79d 100644 --- a/packages/block-library/src/image/image.js +++ b/packages/block-library/src/image/image.js @@ -457,7 +457,7 @@ export default function Image( { alt !== '' } + hasValue={ () => !! alt } onDeselect={ () => setAttributes( { alt: undefined } ) }