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

Add a header menu to switch between edit and select tool #18624

Merged
merged 11 commits into from
Nov 28, 2019
Prev Previous commit
Next Next commit
Remove the shorcuts from the menu
  • Loading branch information
youknowriad committed Nov 27, 2019
commit 635f3f3013f62a8868f1d819fe88ebdca7d91ecf
2 changes: 0 additions & 2 deletions packages/block-editor/src/components/tool-selector/index.js
Original file line number Diff line number Diff line change
@@ -51,7 +51,6 @@ function ToolSelector() {
{ __( 'Edit' ) }
</>
),
shortcut: isNavigationTool ? 'Enter' : undefined,
},
{
value: 'select',
@@ -61,7 +60,6 @@ function ToolSelector() {
{ __( 'Select' ) }
</>
),
shortcut: isNavigationTool ? undefined : 'Esc',
},
] }
/>