Keyboard shortcuts of the MDN editor - The MDN project 编辑
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 ( ) |
Shift + Enter | Exits out of the current block. For example, if you're currently editing a Not currently implemented; see bug 780055. |
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论