当前位置: 首页 > 文档资料 > tinyMCE 帮助文档 >

Keyboard shortcuts

优质
小牛编辑
125浏览
2023-12-01

Editor keyboard shortcuts

This is a list of available keyboard shortcuts within the editor body.

ActionPCMacCore/Plugin
BoldCtrl+BCommand+Bcore
ItalicCtrl+ICommand+Icore
UnderlineCtrl+UCommand+Ucore
Select AllCtrl+ACommand+Acore
RedoCtrl+Y / Ctrl+Shift+ZCommand+Y / Command+Shift+Zcore
UndoCtrl+ZCommand+Zcore
Header 1Alt+Shift+1Ctrl+Alt+1core
Header 2Alt+Shift+2Ctrl+Alt+2core
Header 3Alt+Shift+3Ctrl+Alt+3core
Header 4Alt+Shift+4Ctrl+Alt+4core
Header 5Alt+Shift+5Ctrl+Alt+5core
Header 6Alt+Shift+6Ctrl+Alt+6core
ParagraphAlt+Shift+7Ctrl+Alt+7core
DivAlt+Shift+8Ctrl+Alt+8core
AddressAlt+Shift+9Ctrl+Alt+9core
Focus to menubarAlt+F9Alt+F9core
Focus to toolbarAlt+F10Alt+F10core
Focus to element pathAlt+F11Alt+F11core
Focus to contextual toolbarCtrl+F9Ctrl+F9core
Insert linkCtrl+KCommand+Klink
Toggle FullscreenCtrl+Shift+FCtrl+Shift+Ffullscreen
SaveCtrl+SCommand+Ssave
FindCtrl+FCommand+Fsearchreplace

Accessibility keyboard shortcuts

This is a list of available keyboard shortcuts within the editor user interface.

ActionKey
Execute commandEnter / Space
Focus next widgetRight Arrow / Tab / Down Arrow
Focus previous widgetLeft Arrow / Shift+Tab / Up Arrow
Open widget menuDown Arrow
Open submenuRight Arrow
Close submenuLeft Arrow
Close dialogEsc
Close menuEsc
Move focus back to editor bodyEsc

Note: Browsers and Screen Readers provide additional shortcuts within the editor context.

Add custom shortcuts to TinyMCE

Refer to the addShortcut and tinymce.Shortcuts sections to add custom keyboard shortcuts to TinyMCE.