Skip to content

Commit

Permalink
Revert "Update tools menus with Write / Design order (WordPress#65721)"
Browse files Browse the repository at this point in the history
This reverts commit 65b036b.
  • Loading branch information
huubl authored Oct 2, 2024
1 parent 962eed5 commit bfacfb3
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions packages/block-editor/src/components/tool-selector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,31 +71,33 @@ function ToolSelector( props, ref ) {
onSelect={ __unstableSetEditorMode }
choices={ [
{
value: 'navigation',
value: 'edit',
label: (
<>
<Icon icon={ editIcon } />
{ __( 'Write' ) }
{ selectIcon }
{ __( 'Design' ) }
</>
),
info: __( 'Focus on content.' ),
info: __(
'Full control over layout and styling.'
),
},
{
value: 'edit',
value: 'navigation',
label: (
<>
{ selectIcon }
{ __( 'Design' ) }
<Icon icon={ editIcon } />
{ __( 'Edit' ) }
</>
),
info: __( 'Edit layout and styles.' ),
info: __( 'Focus on content.' ),
},
] }
/>
</NavigableMenu>
<div className="block-editor-tool-selector__help">
{ __(
'Tools provide different sets of interactions for blocks. Toggle between simplified content tools (Write) and advanced visual editing tools (Design).'
'Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.'
) }
</div>
</>
Expand Down

0 comments on commit bfacfb3

Please sign in to comment.