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.

ShortcutDescription
Ctrl + ASelect all
Ctrl + CCopy to clipboard
Ctrl + VPaste from clipboard
Ctrl + Shift + VPaste from clipboard as plain, unformatted text
Ctrl + XCut (and add to clipboard)
Ctrl + ZUndo
Ctrl + YRedo
Ctrl + KOpen link editor/add a new link
Ctrl + Shift + KRemove the link at the current cursor position
Ctrl + BBold
Ctrl + IItalic
Ctrl + OToggle <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 + PToggle the <pre> style on the current block on and off.
Ctrl + UUnderline
Ctrl + SPublish changes without closing the editor
Ctrl + Shift + SPublish changes and close the editor
Ctrl + 0Remove formatting from the selected area (That's a zero, not the letter "O").
Ctrl + 2 through Ctrl + 5Select heading level 2 through 5. Heading level 1 is reserved for the page title displayed at the top of the article.
Ctrl + Shift + LCycle selected text to bulleted list, to numbered list, to plain paragraph format.
TabIncrease 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 + TabDecrease 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 + SpaceInsert 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:110 次

字数:4642

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文