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 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
20 changes: 9 additions & 11 deletions packages/block-editor/src/components/tool-selector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,33 +71,31 @@ 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.' ),
},
] }
/>
</NavigableMenu>
<div className="block-editor-tool-selector__help">
{ __(
'Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.'
'Tools provide different sets of interactions for blocks. Toggle between simplified content tools (Write) and advanced visual editing tools (Design).'
) }
</div>
</>
Expand Down
Loading