Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Detach" text change in template options #55870

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -26,7 +26,7 @@ export default function ConvertToRegularBlocks( { clientId, onClose } ) {
onClose();
} }
>
{ __( 'Detach blocks from template part' ) }
{ __( 'Detach' ) }
</MenuItem>
);
}
4 changes: 1 addition & 3 deletions test/e2e/specs/site-editor/template-part.spec.js
Expand Up @@ -211,9 +211,7 @@ test.describe( 'Template Part', () => {

// Detach the paragraph from the header template part.
await editor.selectBlocks( templatePartWithParagraph );
await editor.clickBlockOptionsMenuItem(
'Detach blocks from template part'
);
await editor.clickBlockOptionsMenuItem( 'Detach' );

// There should be a paragraph but no header template part.
await expect( paragraph ).toBeVisible();
Expand Down