From ce4c66c91f1e0a56ab7cae83c016b098db5adb5c Mon Sep 17 00:00:00 2001 From: Ella <4710635+ellatrix@users.noreply.github.com> Date: Mon, 1 Apr 2024 15:17:53 +0300 Subject: [PATCH] Quote block: remove appender (#60307) Co-authored-by: ellatrix Co-authored-by: jasmussen --- packages/block-library/src/quote/edit.js | 1 + test/e2e/specs/editor/blocks/quote.spec.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/quote/edit.js b/packages/block-library/src/quote/edit.js index 2919901835275..5533cd500dcd7 100644 --- a/packages/block-library/src/quote/edit.js +++ b/packages/block-library/src/quote/edit.js @@ -89,6 +89,7 @@ export default function QuoteEdit( { template: TEMPLATE, templateInsertUpdatesSelection: true, __experimentalCaptureToolbars: true, + renderAppender: false, } ); return ( diff --git a/test/e2e/specs/editor/blocks/quote.spec.js b/test/e2e/specs/editor/blocks/quote.spec.js index 0e0cb61781a28..6a83ed52df675 100644 --- a/test/e2e/specs/editor/blocks/quote.spec.js +++ b/test/e2e/specs/editor/blocks/quote.spec.js @@ -318,7 +318,7 @@ test.describe( 'Quote', () => { ` ); // Move the cursor to the start of the first paragraph of the quoted block. - await pageUtils.pressKeys( 'ArrowLeft', { times: 4 } ); + await pageUtils.pressKeys( 'ArrowLeft', { times: 3 } ); await page.keyboard.press( 'Backspace' ); expect( await editor.getEditedPostContent() ).toBe( `