CKEditor 4 Documentation

Keyboard Shortcuts

Many functions in CKEditor have their equivalent keyboard shortcuts. This is one of the reasons why working with the editor is simple and efficient.

The list below contains available keyboard shortcuts grouped by problem areas. You can also learn about keyboard shortcuts directly in the editor:

  • Through the Accessibility Instructions dialog window.
  • Through toolbar button tooltips and context menu entries (CKEditor 4.6 or later).

The Accessibility Instructions dialog window is provided through the Accessibility Help plugin that is included in the Standard and Full presets available from the official CKEditor Download site. You can also add it to your custom build with CKBuilder.

Note that some shortcuts only work if the functionality behind them is included in your editor build.

Working with a Document

  • Esc – Closes a CKEditor dialog window, drop-down list, or context menu. Equivalent to the Cancel button in a dialog window. Also moves from the context menu submenu to the parent option.
  • Enter – Selects a CKEditor function from the toolbar, drop-down list, or context menu. Equivalent to the OK button in a dialog window.
  • Shift+F10, Menu/Application key – Opens the element's context menu.

Navigation

  • Home – Jumps to the beginning of the line.
  • Ctrl+Home – Jumps to the beginning of the document.
  • End – Jumps to the end of the line.
  • Ctrl+End – Jumps to the end of the document.
  • PgDn – Scrolls down the document, approximately by the length of the editing area.
  • PgUp – Scrolls up the document, approximately by the length of the editing area.

Writing

  • Enter (Return) – Ends a paragraph and starts a new one.
  • Shift+Enter – Adds a line break.
  • Shift+Ctrl+3 – Enables enetring content (by adding a new paragraph) before a problematic element such as an image, table or <div> element that starts or ends a document, list, or even adjacent horizontal lines.
  • Shift+Ctrl+4 – Enables enetring content (by adding a new paragraph) after a problematic element such as an image, table or <div> element that starts or ends a document, list, or even adjacent horizontal lines.
  • Backspace, Del – Deletes a character.
  • Ctrl+Backspace, Ctrl+Del – Deletes a word.

Undo and Redo

  • Ctrl+Z – Performs the undo operation.
  • Ctrl+Y, Shift+Ctrl+Z – Performs the redo operation.

Cut, Copy and Paste

  • Ctrl+X, Shift+Del – Cuts a text fragment to clipboard.
  • Ctrl+C – Copies a text fragment to clipboard.
  • Ctrl+V, Shift+Insert – Pastes a text fragment from clipboard.
  • Shift+Ctrl+V – Pastes content from clipboard as plain text.

Text Selection

  • Ctrl+A – Selects all document contents.
  • Shift+Arrow – Selects a text fragment by letters.
  • Ctrl+Shift+Arrow – Selects a text fragment by words.
  • Shift+Home – Selects a text fragment from the cursor to the beginning of the line.
  • Shift+End – Selects a text fragment from the cursor to the end of the line.
  • Ctrl+Shift+Home – Selects a text fragment from the cursor to the beginning of the document.
  • Ctrl+Shift+End – Selects a text fragment from the cursor to the end of the document.
  • Shift+PgDn – Selects a text fragment of approximately the length of the editing area starting from the cursor and going down.
  • Shift+PgUp – Selects a text fragment of approximately the length of the editing area starting from the cursor and going up.

Text Styling

  • Ctrl+B – Applies bold formatting to a text fragment.
  • Ctrl+I – Applies italics formatting to a text fragment.
  • Ctrl+U – Applies underline formatting to a text fragment.

Copy Formatting

  • Ctrl+Shift+C – Copies the inline formatting from a text fragment and enables the sticky mode.
  • Ctrl+Shift+V – Applies the previously copied inline formatting to a text fragment.
  • Esc – Disables the sticky mode.

Rich Text

  • Ctrl+L – Opens the Link dialog window.
  • Tab – Indents a list.
  • Shift+Tab – Outdents a list.

Accessibility

  • Alt+0 – Opens the Accessibility Instructions dialog window.
  • Alt+F10 – Enters the toolbar or the tab list of the currently open dialog window.
  • Alt+F11 – Enters the elements path.
  • Tab – Moves to the next toolbar button group, context menu suboption, elements path element, dialog window element, or dialog window tab while in the tab list.
  • Right Arrow – Moves to the next toolbar button within the group, context menu suboption, elements path element, dialog window element, or dialog window tab while in the tab list.
  • Tab or Down Arrow – Moves to the next drop-down list or context menu option.
  • Shift+Tab – Moves to the previous toolbar button group, context menu parent option, elements path element, dialog window element, or dialog window tab while in the tab list.
  • Left Arrow – Moves to the previous toolbar button within the group, context menu parent option, elements path element, dialog window element, or dialog window tab while in the tab list.
  • Shift+Tab or Up Arrow – Moves to the previous drop-down list or context menu option.
  • Space or Enter – Activates a toolbar button, a context menu option, a drop-down list option, an elements path element, or a dialog window tab once selected. Also enters a context menu submenu, if it is available.

Accessibility Checker Plugin

Please refer to the Keyboard Shortcuts section of the Managing Content Accessibility with Accessibility Checker article.

Accessibility and Keyboard Shortcuts Demo

See the working "Accessibility Support and Keyboard Shortcuts" sample that showcases the usage of some accessibility-related features.

Refer to the following resources for more information about accessibility in CKEditor: