diff --git a/packages/block-library/src/cover/controls.native.js b/packages/block-library/src/cover/controls.native.js index 6b967548a23d45..539d2638553154 100644 --- a/packages/block-library/src/cover/controls.native.js +++ b/packages/block-library/src/cover/controls.native.js @@ -167,7 +167,6 @@ function Controls( { styles.mediaPreview, mediaBackground, ] } - onLongPress={ openMediaOptions } > { IMAGE_BACKGROUND_TYPE === backgroundType && ( diff --git a/packages/block-library/src/cover/edit.native.js b/packages/block-library/src/cover/edit.native.js index 87ef3a07cf1419..01773bd6119e2b 100644 --- a/packages/block-library/src/cover/edit.native.js +++ b/packages/block-library/src/cover/edit.native.js @@ -375,7 +375,6 @@ const Cover = ( { diff --git a/packages/block-library/src/file/edit.native.js b/packages/block-library/src/file/edit.native.js index 6049f0454cf72c..a981f18ef290c6 100644 --- a/packages/block-library/src/file/edit.native.js +++ b/packages/block-library/src/file/edit.native.js @@ -452,7 +452,6 @@ export class FileEdit extends Component { diff --git a/packages/block-library/src/media-text/edit.native.js b/packages/block-library/src/media-text/edit.native.js index 530452eb63593c..3cb2c410520289 100644 --- a/packages/block-library/src/media-text/edit.native.js +++ b/packages/block-library/src/media-text/edit.native.js @@ -275,6 +275,8 @@ class MediaTextEdit extends Component { const widthString = `${ temporaryMediaWidth }%`; const innerBlockWidth = shouldStack ? 100 : 100 - temporaryMediaWidth; const innerBlockWidthString = `${ innerBlockWidth }%`; + const hasMedia = + mediaType === MEDIA_TYPE_IMAGE || mediaType === MEDIA_TYPE_VIDEO; const innerBlockContainerStyle = [ { width: innerBlockWidthString }, @@ -344,7 +346,7 @@ class MediaTextEdit extends Component { <> { mediaType === MEDIA_TYPE_IMAGE && this.getControls() } - { ( isMediaSelected || mediaType === MEDIA_TYPE_VIDEO ) && ( + { hasMedia && (