Deze pagina is nog niet vertaald. Ze wordt in het Engels getoond.
Dit hoofdstuk is beschikbaar in het Engels en Bulgaars.
The toolbar
The default toolbar (RteOptions.DefaultToolbar), in order:
undo, redo · paragraph style, font size · bold, italic, underline, strikethrough, code · text color, highlight color · align left, center, right, justify · bulleted list, numbered list, to-do list, outdent, indent · link, image, media, gallery, table, quote, horizontal rule, code block · blocks, emoji, template, find · comment, revisions, accessibility · clear formatting · export, mode, full screen, more.
Extra buttons you can add by name (RteOptions.AllButtons): attach, pasteMode, snippet, subscript, superscript, merge, spell, readAloud, dictate, tags, typewriter, focus, direction, theme.
Arrow keys move inside the toolbar (one tab stop), Home and End go to the first and last button, Escape closes a menu and returns the focus to the text.
The / menu
Type / in the text to open the block menu. Keep typing to filter, use the arrow keys, Enter to insert and Escape to close. It offers the text blocks, the table and the modern blocks of the plugins that are loaded, and every item you add with editor.slash.add.
Context menus
A right click opens a context menu (for example in a table cell it offers the table commands). The block handle at the left of a block opens the block menu (duplicate, move up, move down, delete, and block-specific items such as "remove callout, keep content").
The menu bar of the demo
The demo application (Rte.Demo) shows a menu bar made with another component library (File, Edit, View, Format, Paragraph, Insert, Table, Tools). It is part of the demo and not of the package. Everything in it is a command that you can call yourself with ExecuteAsync(command, argument).
Keyboard shortcuts
On macOS use Cmd in place of Ctrl.
Text
| Keys | Action |
|---|---|
| Ctrl+B, Ctrl+I, Ctrl+U | bold, italic, underline |
| Ctrl+Shift+X | strikethrough |
| Ctrl+, and Ctrl+. | subscript and superscript |
| Ctrl+\` | inline code |
| Ctrl+\\ | clear formatting |
| Ctrl+K | link |
| Ctrl+; | emoji |
Blocks
| Keys | Action |
|---|---|
| Ctrl+Alt+0 | paragraph |
| Ctrl+Alt+1 to Ctrl+Alt+6 | heading 1 to 6 |
| Ctrl+Shift+Q | quote |
| Ctrl+Shift+8, Ctrl+Shift+7, Ctrl+Shift+9 | bulleted, numbered and to-do list |
| Ctrl+Enter | check or uncheck the to-do item |
| Ctrl+] and Ctrl+[ | indent and outdent |
| Ctrl+Shift+L, E, R, J | align left, center, right, justify |
| Alt+Shift+Up and Alt+Shift+Down | move the block up and down |
| Ctrl+Alt+Enter | fold or unfold a heading |
| Tab and Shift+Tab | in a table: next and previous cell |
Document
| Keys | Action |
|---|---|
| Ctrl+Z | undo |
| Ctrl+Y or Ctrl+Shift+Z | redo |
| Ctrl+F | find and replace |
| F3 and Shift+F3 | next and previous match |
| Ctrl+Shift+V | paste as plain text |
| Alt+Shift+V | paste options after a paste |
| Ctrl+Alt+M | comment on the selection |
| F11 | full screen |
Markdown while you type
| Type | Result |
|---|---|
# , ## , ### | headings |
- , * or + | bulleted list |
1. or 1) | numbered list |
[] or [x] | to-do list |
> | quote |
---, *** or ___ | horizontal rule |
`js and Enter | code block (the language is optional) |
**bold**, *italic*, ~~strike~~, ` code ` | inline formats |
[text](address) | link |
:smile: | emoji |
Set Markdown.Inline = false to turn the shortcuts off.
Some keys may be taken by the browser or the operating system on some systems; the shortcuts are shown next to the commands in the menus and tooltips, and you can change or add shortcuts in a plugin (commands.register, the shortcut field).
Klaar om uit te proberen RayCraft Write?
Start de proef van 14 dagen, geen kaart nodig.
Start de proef van 14 dagen