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

Update tools menus with Write / Design order #65721

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Changes from 1 commit
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
Next Next commit
Update tools menus:
- Write / Design order
- Change description copy
  • Loading branch information
mtias committed Sep 29, 2024
commit ff2c55712a1962afe032a7395b5e375a6fed3148
18 changes: 8 additions & 10 deletions packages/block-editor/src/components/tool-selector/index.js
Original file line number Diff line number Diff line change
@@ -71,26 +71,24 @@ function ToolSelector( props, ref ) {
onSelect={ __unstableSetEditorMode }
choices={ [
{
value: 'edit',
value: 'navigation',
label: (
<>
{ selectIcon }
{ __( 'Design' ) }
<Icon icon={ editIcon } />
{ __( 'Write' ) }
</>
),
info: __(
'Full control over layout and styling.'
),
info: __( 'Focus on content.' ),
},
{
value: 'navigation',
value: 'edit',
label: (
<>
<Icon icon={ editIcon } />
{ __( 'Edit' ) }
{ selectIcon }
{ __( 'Design' ) }
</>
),
info: __( 'Focus on content.' ),
info: __( 'Edit layout and styles.' ),
},
] }
/>
Loading