diff --git a/packages/block-library/src/image/image.js b/packages/block-library/src/image/image.js index c207e0418aeaa1..d49a8f7cd05783 100644 --- a/packages/block-library/src/image/image.js +++ b/packages/block-library/src/image/image.js @@ -375,7 +375,7 @@ export default function Image( { !! lightbox || lightboxSetting?.allowEditing === true; const lightboxChecked = - lightbox?.enabled || ( ! lightbox && lightboxSetting?.enabled ); + !! lightbox?.enabled || ( ! lightbox && !! lightboxSetting?.enabled ); const dimensionsControl = (