From 82ad73355c520de8ef272e3d0f9d6d311b21e3fd Mon Sep 17 00:00:00 2001 From: Rich Tabor Date: Wed, 4 Oct 2023 12:52:02 -0400 Subject: [PATCH 1/2] Remove 16:10/10:16 --- .../src/components/image-editor/aspect-ratio-dropdown.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/block-editor/src/components/image-editor/aspect-ratio-dropdown.js b/packages/block-editor/src/components/image-editor/aspect-ratio-dropdown.js index 5019da9c515d0..a15c9f42b9e8e 100644 --- a/packages/block-editor/src/components/image-editor/aspect-ratio-dropdown.js +++ b/packages/block-editor/src/components/image-editor/aspect-ratio-dropdown.js @@ -74,10 +74,6 @@ export default function AspectRatioDropdown( { toggleProps } ) { } } value={ aspect } aspectRatios={ [ - { - title: __( '16:10' ), - aspect: 16 / 10, - }, { title: __( '16:9' ), aspect: 16 / 9, @@ -101,10 +97,6 @@ export default function AspectRatioDropdown( { toggleProps } ) { } } value={ aspect } aspectRatios={ [ - { - title: __( '10:16' ), - aspect: 10 / 16, - }, { title: __( '9:16' ), aspect: 9 / 16, From 723c0e2d0e49500372c2d2a2886f9003ca287046 Mon Sep 17 00:00:00 2001 From: Rich Tabor Date: Wed, 4 Oct 2023 14:13:43 -0400 Subject: [PATCH 2/2] Update image.spec.js --- test/e2e/specs/editor/blocks/image.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/specs/editor/blocks/image.spec.js b/test/e2e/specs/editor/blocks/image.spec.js index 21ec3e2486c3a..b538e7598d96b 100644 --- a/test/e2e/specs/editor/blocks/image.spec.js +++ b/test/e2e/specs/editor/blocks/image.spec.js @@ -313,7 +313,7 @@ test.describe( 'Image', () => { await editor.clickBlockToolbarButton( 'Crop' ); await editor.clickBlockToolbarButton( 'Aspect Ratio' ); await page.click( - 'role=menu[name="Aspect Ratio"i] >> role=menuitemradio[name="16:10"i]' + 'role=menu[name="Aspect Ratio"i] >> role=menuitemradio[name="16:9"i]' ); await editor.clickBlockToolbarButton( 'Apply' );