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

Doc: Update shortcut list in the FAQ section #47920

Closed
wants to merge 1 commit into from
Closed

Conversation

t-hamano
Copy link
Contributor

@t-hamano t-hamano commented Feb 9, 2023

What?

This PR updates the shortcut list in the FAQ section as the keyboard shortcut modal in the block editor appears.

This PR includes the following changes:

  • Update shortcut descriptions
  • Change section title (Editor shortcuts > Global shortcut)
  • Merge alternative shortcuts into one line
  • Reordering
  • Add missing shortucts:
    • Toggle distraction free mode.
    • Insert a link to a post or page.
    • Convert the current heading to a paragraph.
    • Convert the current paragraph or heading to a heading of level 1 to 6."

Testing Instructions

  • See the FAQ section of this branch.
  • Open the keyboard shortcut modal in the block editor and confirm that it matches the content of the document.

Note: There are slight differences in the order of keyboard shortcuts and the number of items in each editor. This PR prioritizes matching the keyboard shortcuts to the post editor.


Update: I've updated this PR to resolve the conflict and base it on the latest keyboard shortcut modal. Below is a list of shortcuts that appear in each editor's keyboard shortcuts modal.

Common

Shortcut Post Editor Site Editor Widget Editor Customize Widget
Display these keyboard shortcuts.

Global Shortcuts

Shortcut Post Editor Site Editor Widget Editor Customize Widget
Navigate to the nearest toolbar.
Open the command palette.
Switch between visual editor and code editor.
Toggle distraction free mode.
Toggle fullscreen mode.
Open the block list view.
Show or hide the Settings sidebar.
Navigate to the next part of the editor.
Navigate to the previous part of the editor.
Save your changes.
Undo your last changes.
Redo your last undo.

Selection Shortcuts

Shortcut Post Editor Site Editor Widget Editor Customize Widget
Select all text when typing. Press again to select all blocks.
Clear selection.
Select text across multiple blocks.

Block Shortcuts

Shortcut Post Editor Site Editor Widget Editor Customize Widget
Duplicate the selected block(s).
Remove the selected block(s).
Insert a new block before the selected block(s).
Insert a new block after the selected block(s).
Delete selection.
Move the selected block(s) up.
Move the selected block(s) down.
Change the block type after adding a new paragraph.

Text formatting

Shortcut Post Editor Site Editor Widget Editor Customize Widget
Make the selected text bold.
Make the selected text italic.
Convert the selected text into a link.
Remove a link.
Insert a link to a post or page.
Underline the selected text.
Strikethrough the selected text.
Make the selected text inline code.
Convert the current heading to a paragraph.
Convert the current paragraph or heading to a heading of level 1 to 6.

@t-hamano t-hamano self-assigned this Feb 9, 2023
@t-hamano t-hamano added the [Type] Developer Documentation Documentation for developers label Feb 9, 2023
@t-hamano t-hamano marked this pull request as ready for review February 9, 2023 12:07
@t-hamano
Copy link
Contributor Author

Based on this comment, I will close this PR.

@t-hamano t-hamano closed this Apr 10, 2024
@t-hamano t-hamano deleted the doc/faq-shortcut branch May 7, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation: List of keyboard shortcuts is out of date
1 participant