UNPKG

ckeditor5-image-upload-base64

Version:

The development environment of CKEditor 5 – the best browser-based rich text editor.

159 lines (151 loc) 4.08 kB
--- category: features classes: keyboard-shortcuts --- # Keyboard support Below is a list of the most important keystrokes supported by CKEditor 5 and its features: <table> <thead> <tr> <th>Action</th> <th>PC</th> <th>Mac</th> </tr> </thead> <tbody> <tr> <td>Copy</td> <td><kbd>Ctrl</kbd> + <kbd>C</kbd></td> <td><kbd></kbd> + <kbd>C</kbd></td> </tr> <tr> <td>Paste</td> <td><kbd>Ctrl</kbd> + <kbd>V</kbd></td> <td><kbd></kbd> + <kbd>V</kbd></td> </tr> <tr> <td>Undo</td> <td><kbd>Ctrl</kbd> + <kbd>Z</kbd></td> <td><kbd></kbd> + <kbd>Z</kbd></td> </tr> <tr> <td>Redo</td> <td><kbd>Ctrl</kbd> + <kbd>Y</kbd> <br> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd></td> <td><kbd></kbd> + <kbd>Y</kbd> <br> <kbd></kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd></td> </tr> <tr> <td>Bold</td> <td><kbd>Ctrl</kbd> + <kbd>B</kbd></td> <td><kbd></kbd> + <kbd>B</kbd></td> </tr> <tr> <td>Italic</td> <td><kbd>Ctrl</kbd> + <kbd>I</kbd></td> <td><kbd></kbd> + <kbd>I</kbd></td> </tr> <tr> <td>Link</td> <td><kbd>Ctrl</kbd> + <kbd>K</kbd></td> <td><kbd></kbd> + <kbd>K</kbd></td> </tr> <tr> <td>Insert a hard break (e.g. a new paragraph)</td> <td colspan="2"><kbd>Enter</kbd></td> </tr> <tr> <td>Insert a soft break (i.e. a <code>&lt;br&gt;</code>)</td> <td colspan="2"><kbd>Shift</kbd> + <kbd>Enter</kbd></td> </tr> <tr> <td>Nest the current list item (when in a list)</td> <td colspan="2"><kbd>Tab</kbd></td> </tr> <tr> <th colspan="3">When a widget is selected (for example: image, table, horizontal line, etc.)</th> </tr> <tr> <td>Insert a new paragraph directly after a widget</td> <td colspan="2"><kbd>Enter</kbd></td> </tr> <tr> <td>Insert a new paragraph directly before a widget</td> <td colspan="2"><kbd>Shift</kbd> + <kbd>Enter</kbd></td> </tr> <tr> <td>Display the caret to allow typing directly before a widget</td> <td colspan="2"><kbd></kbd> / <kbd></kbd></td> </tr> <tr> <td>Display the caret to allow typing directly after a widget</td> <td colspan="2"><kbd></kbd> / <kbd></kbd></td> </tr> <tr> <th colspan="3">In a table cell</th> </tr> <tr> <td>Move the selection to the next cell</td> <td colspan="2"><kbd>Tab</kbd></td> </tr> <tr> <td>Move the selection to the previous cell</td> <td colspan="2"><kbd>Shift</kbd> + <kbd>Tab</kbd></td> </tr> <tr> <td>Insert a new table row (when in the last cell of a table)</td> <td colspan="2"><kbd>Tab</kbd></td> </tr> <tr> <td>Navigate through the table</td> <td colspan="2"><kbd></kbd> / <kbd></kbd> / <kbd></kbd> / <kbd></kbd></td> </tr> </tbody> </table> ## User interface and navigation Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface: <table> <thead> <tr> <th>Action</th> <th>PC</th> <th>Mac</th> </tr> </thead> <tbody> <tr> <td>Close contextual balloons and UI components like dropdowns</td> <td colspan="2"><kbd>Esc</kbd></td> </tr> <tr> <td>Move focus to the visible contextual balloon</td> <td colspan="2"><kbd>Tab</kbd></td> </tr> <tr> <td>Move focus between fields (inputs and buttons) in contextual balloons</td> <td colspan="2"><kbd>Tab</kbd></td> </tr> <tr> <td>Move focus to the toolbar</td> <td><kbd>Alt</kbd> + <kbd>F10</kbd></td> <td><kbd>Alt</kbd> + <kbd>F10</kbd> <br> (may require <kbd>Fn</kbd>)</td> </tr> <tr> <td>Navigate through the toolbar</td> <td colspan="2"><kbd></kbd> / <kbd></kbd> / <kbd></kbd> / <kbd></kbd></td> </tr> <tr> <td>Execute the currently focused button</td> <td colspan="2"><kbd>Enter</kbd></td> </tr> </tbody> </table> <style> .keyboard-shortcuts th { text-align: center; } .keyboard-shortcuts td:nth-of-type(1) { text-align: right; } .keyboard-shortcuts td:nth-of-type(2), .keyboard-shortcuts td:nth-of-type(3) { width: 30%; } </style>