Jump to:

There are a number of convenient keyboard shortcuts available to help you avoid taking your hands off the keyboard while you work in the MDN editor UI. The shortcuts are listed for Windows and Linux; on Mac, instead of using the Control key, you can use the Command key.

Shortcut Description
Ctrl + A Select all
Ctrl + C Copy to clipboard
Ctrl + V Paste from clipboard
Ctrl + Shift + V Paste from clipboard as plain, unformatted text
Ctrl + X Cut (and add to clipboard)
Ctrl + Z Undo
Ctrl + Y Redo
Ctrl + K Open link editor/add a new link
Ctrl + Shift + K Remove the link at the current cursor position
Ctrl + B Bold
Ctrl + I Italic
Ctrl + O Toggle <code> style
Ctrl + Shift + O

Toggle source view mode

Be careful when editing in source mode; you need to continue to adhere to our content standards. See our guide to the editor's source mode for details on both how to use source mode and what you should and should not use it for.
Ctrl + P Toggle the <pre> style on the current block on and off.
Ctrl + U Underline
Ctrl + S Publish changes without closing the editor
Ctrl + Shift + S Publish changes and close the editor
Ctrl + 0 Remove formatting from the selected area (That's a zero, not the letter "O").
Ctrl + 2 through Ctrl + 5 Select heading level 2 through 5. Heading level 1 is reserved for the page title displayed at the top of the article.
Ctrl + Shift + L Cycle selected text to bulleted list, to numbered list, to plain paragraph format.
Tab Increase indent level if in indent mode, otherwise inserts two spaces as a tab. Inside tables, this moves the cursor to the next cell, or inserts a new row if there is no next cell. If the cursor is currently in the page title or in a heading, the cursor jumps to the next paragraph.
Shift + Tab Decrease indent level if in indent mode. Inside tables, this jumps to the previous cell, or inserts a new row if there is no previous cell. If the cursor is currently in the page title or in a heading, the cursor jumps to the next paragraph.
Shift + Space Insert a non-breaking space (&nbsp;)
Shift + Enter

Exits out of the current block. For example, if you're currently editing a <pre> block, Shift + Enter exits the block, putting you back in the body of the article.

Not currently implemented; see bug 780055.

See also

Document Tags and Contributors

Contributors to this page: ExE-Boss, jswisher, saigowthamr, wbamberg, Sheppy
Last updated by: jswisher,