Skip to content

Commit

Permalink
Quote block: remove appender (WordPress#60307)
Browse files Browse the repository at this point in the history
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
  • Loading branch information
3 people authored and cbravobernal committed Apr 9, 2024
1 parent 8471076 commit ce4c66c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/block-library/src/quote/edit.js
Expand Up @@ -89,6 +89,7 @@ export default function QuoteEdit( {
template: TEMPLATE,
templateInsertUpdatesSelection: true,
__experimentalCaptureToolbars: true,
renderAppender: false,
} );

return (
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/specs/editor/blocks/quote.spec.js
Expand Up @@ -318,7 +318,7 @@ test.describe( 'Quote', () => {
<!-- /wp: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(
`<!-- wp:paragraph -->
Expand Down

0 comments on commit ce4c66c

Please sign in to comment.