Ir para o conteúdo
APRENDER

Menus e teclas

O menu de barra, os menus de contexto e os atalhos de teclado.

Este capítulo está disponível em inglês e búlgaro.

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

KeysAction
Ctrl+B, Ctrl+I, Ctrl+Ubold, italic, underline
Ctrl+Shift+Xstrikethrough
Ctrl+, and Ctrl+.subscript and superscript
Ctrl+\`inline code
Ctrl+\\clear formatting
Ctrl+Klink
Ctrl+;emoji

Blocks

KeysAction
Ctrl+Alt+0paragraph
Ctrl+Alt+1 to Ctrl+Alt+6heading 1 to 6
Ctrl+Shift+Qquote
Ctrl+Shift+8, Ctrl+Shift+7, Ctrl+Shift+9bulleted, numbered and to-do list
Ctrl+Entercheck or uncheck the to-do item
Ctrl+] and Ctrl+[indent and outdent
Ctrl+Shift+L, E, R, Jalign left, center, right, justify
Alt+Shift+Up and Alt+Shift+Downmove the block up and down
Ctrl+Alt+Enterfold or unfold a heading
Tab and Shift+Tabin a table: next and previous cell

Document

KeysAction
Ctrl+Zundo
Ctrl+Y or Ctrl+Shift+Zredo
Ctrl+Ffind and replace
F3 and Shift+F3next and previous match
Ctrl+Shift+Vpaste as plain text
Alt+Shift+Vpaste options after a paste
Ctrl+Alt+Mcomment on the selection
F11full screen

Markdown while you type

TypeResult
# , ## , ### headings
- , * or + bulleted list
1. or 1) numbered list
[] or [x] to-do list
> quote
---, *** or ___horizontal rule
`js and Entercode 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).

← RecursosIdiomas →

Pronto para experimentar o RayCraft Write?

Comece o teste de 14 dias, sem precisar de cartão.

Iniciar teste de 14 dias