Skip to content

Commit

Permalink
Fix site editor switch mode message. (#48136)
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia authored Feb 17, 2023
1 parent 05d3575 commit 0b5ca22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/edit-site/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ export const switchEditorMode =

if ( mode === 'visual' ) {
speak( __( 'Visual editor selected' ), 'assertive' );
} else if ( mode === 'mosaic' ) {
speak( __( 'Mosaic view selected' ), 'assertive' );
} else if ( mode === 'text' ) {
speak( __( 'Code editor selected' ), 'assertive' );
}
};

1 comment on commit 0b5ca22

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 0b5ca22.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4202997667
📝 Reported issues:

Please sign in to comment.