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

Updated text in tooltip on block transformations to include style #14470

Merged
merged 1 commit into from
Mar 18, 2019
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class BlockSwitcher extends Component {
};
const label = (
1 === blocks.length ?
__( 'Change block type' ) :
__( 'Change block type or style' ) :
sprintf(
_n(
'Change type of %d block',
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/specs/style-variation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe( 'adding blocks', () => {
await insertBlock( 'Quote' );
await page.keyboard.type( 'Quote content' );

await clickBlockToolbarButton( 'Change block type' );
await clickBlockToolbarButton( 'Change block type or style' );

const styleVariations = await page.$$( '.block-editor-block-styles__item' );
await styleVariations[ 1 ].click();
Expand Down