diff --git a/packages/block-library/src/quote/block.json b/packages/block-library/src/quote/block.json index 2ae37f9f36f766..d5f511c5747093 100644 --- a/packages/block-library/src/quote/block.json +++ b/packages/block-library/src/quote/block.json @@ -91,14 +91,6 @@ "clientNavigation": true } }, - "styles": [ - { - "name": "default", - "label": "Default", - "isDefault": true - }, - { "name": "plain", "label": "Plain" } - ], "editorStyle": "wp-block-quote-editor", "style": "wp-block-quote" } diff --git a/packages/block-library/src/quote/theme.scss b/packages/block-library/src/quote/theme.scss index 2c5983003986a1..24068d36b82e6c 100644 --- a/packages/block-library/src/quote/theme.scss +++ b/packages/block-library/src/quote/theme.scss @@ -21,7 +21,7 @@ border: none; padding-left: 0; } - // .is-style-large and .is-large are kept for backwards compatibility. + // .is-style-plain, .is-style-large and .is-large are kept for backwards compatibility. // They are not wrapped in `:where()` to keep specificity as it was before // they were deprecated. &:where(.is-style-plain), diff --git a/test/e2e/specs/editor/various/patterns.spec.js b/test/e2e/specs/editor/various/patterns.spec.js index a3af79289f2701..16f04f09a073d3 100644 --- a/test/e2e/specs/editor/various/patterns.spec.js +++ b/test/e2e/specs/editor/various/patterns.spec.js @@ -607,6 +607,8 @@ test.describe( 'Synced pattern', () => { .getByRole( 'button', { name: 'Styles', exact: true } ) ).toBeVisible(); + await page.click( 'role=menuitem[name="Plain Style"i]' ); // Update the selector based on UI changes. + await editor.clickBlockOptionsMenuItem( 'Create pattern' ); const createPatternDialog = editor.page.getByRole( 'dialog', {