MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

Edit box of the MDN editor

The edit box is, of course, where you actually do your writing. Right-clicking in the editor box offers appropriate additional options depending on the context of your click: right-clicking in a table offers table-related options and right-clicking in a list offers list-related options, for example.

By default, the editor uses its own contextual menu when you right-click on the editor. To access your browser's default contextual menu (such as to access the Firefox spell checker's list of suggested corrections), hold down the Shift or Control key (the Command key on Mac OS X) while clicking.

Keyboard shortcutsEdit

There are a number of convenient keyboard shortcuts available to help you avoid taking your hands off the keyboard while you work.  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 + X Cut
Ctrl + Z Undo  -- (Notice)
Ctrl + Y Redo
Ctrl + K Open link editor/add a new link
Ctrl + Shift + K Removes 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.
Ctrl + P Toggles the <pre> style on the current block.
Ctrl + U Underline.
Ctrl + S Save changes and close the editor.
Ctrl + Shift + S Save changes without closing the editor.
Ctrl + 0 Remove formatting from the selected area (That's a zero, not the letter "O").
Ctrl + 2 through Ctrl + 6 Select heading level 2 through-6
Ctrl + Shift + L Toggles between bulleted list, numbered list, and paragraph format
Tab Increases indent level if in indent mode, otherwise inserts two spaces as a tab.  Inside tables, this jumps 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 Decreases 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 Inserts 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.

 

Document Tags and Contributors

 Contributors to this page: jswisher
 Last updated by: jswisher,