diff --git a/blocks/library/embed/index.js b/blocks/library/embed/index.js
index 20cbf22484ffbd..74d0be2e624788 100644
--- a/blocks/library/embed/index.js
+++ b/blocks/library/embed/index.js
@@ -48,7 +48,7 @@ registerBlock( 'core/embed', {
- { caption || !! focus ? (
+ { ( caption && caption.length > 0 ) || !! focus ? (
;
- if ( ! caption ) {
+ if ( ! caption || ! caption.length ) {
return iframe;
}
diff --git a/blocks/library/image/index.js b/blocks/library/image/index.js
index c7e26f0e237dfa..d3855096de3573 100644
--- a/blocks/library/image/index.js
+++ b/blocks/library/image/index.js
@@ -94,7 +94,7 @@ registerBlock( 'core/image', {
return (