diff --git a/packages/block-library/src/image/image.js b/packages/block-library/src/image/image.js index d49a8f7cd0578..1f602c4380e88 100644 --- a/packages/block-library/src/image/image.js +++ b/packages/block-library/src/image/image.js @@ -377,6 +377,8 @@ export default function Image( { const lightboxChecked = !! lightbox?.enabled || ( ! lightbox && !! lightboxSetting?.enabled ); + const lightboxToggleDisabled = linkDestination !== 'none'; + const dimensionsControl = ( ) }