Skip to content

Commit

Permalink
Update modal title to match menu option
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Sep 1, 2023
1 parent a643e97 commit 39fe73a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/block-rename-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function RenameModal( { blockName, originalBlockName, onClose, onSave } ) {

return (
<Modal
title={ __( 'Rename block' ) }
title={ __( 'Rename' ) }
onRequestClose={ onClose }
overlayClassName="block-editor-block-rename-modal"
aria={ {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/specs/editor/various/block-renaming.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ test.describe( 'Block Renaming', () => {
);

const renameModal = page.getByRole( 'dialog', {
name: 'Rename block',
name: 'Rename',
} );

// Check focus is transferred into modal.
Expand Down

0 comments on commit 39fe73a

Please sign in to comment.