Editing features
What the editor does while you write: typing shortcuts, typographic replacements, keyboard, tables, images, links, media and pasting. The toolbar items are listed in Editor options.
Typing shortcuts
At the start of an empty paragraph, followed by a space:
| Type | Result |
|---|---|
# … ###### | heading H1–H6 |
* or - | bulleted list |
1. or 1) | numbered list |
[] or [ ] | task list |
> | block quote |
--- | horizontal line |
| three backticks | code block |
Inside text:
| Type | Result |
|---|---|
**bold** | bold |
*italic* or _italic_ | italic |
| text between two backticks (`) | inline code |
https://…, http://… or www.… followed by a space or Enter | a link (www. gets https://); a final full stop or comma stays outside the link |
One Ctrl+Z after a shortcut brings back the typed characters. Shortcuts do not work in code blocks, and the block shortcuts only at the start of a paragraph. Words like snake_case_word or 2*3*4 stay as they are. To switch the shortcuts off, leave the Autoformat plugin out of plugins.
Typography
With typography: true (the default) the editor replaces while you type:
| Type | Result |
|---|---|
... | … |
-- between words | – (en dash) |
--- between words | — (em dash) |
->, <- | →, ← |
(c), (r), (tm) | ©, ®, ™ |
"text" | quotes of the interface language: “text” (en), „text” (pl), „text“ (de), « text » (fr, with narrow no-break spaces) |
'text' | single quotes: ‘text’ (en), ‚text’ (pl); in other languages only the apostrophe is replaced |
' after a letter | ’ (apostrophe) |
Nothing is replaced inside inline code and code blocks. One Ctrl+Z undoes the last replacement.
Keyboard
| Keys | Action |
|---|---|
| Ctrl+B, Ctrl+I, Ctrl+U, Ctrl+Shift+X | bold, italic, underline, strikethrough; with no selection the format applies to the text you type next |
| Ctrl+K | link dialog |
| Ctrl+Z, Ctrl+Y or Ctrl+Shift+Z | undo, redo |
| Ctrl+F | find and replace; Esc returns to the content |
| Ctrl+Enter | tick or untick a task list item |
| Tab, Shift+Tab | in a list: nest or un-nest the item; in a table: next or previous cell (Tab in the last cell adds a row); in a code block: indent or outdent the line by two spaces; elsewhere Tab leaves the editor |
| Shift+Enter | line break (<br>) |
| Alt+F10 | move to the toolbar; arrow keys move between items, Esc returns to the content |
| Esc | leave full screen |
| Alt+0 | list of keyboard shortcuts |
On macOS, Cmd replaces Ctrl.
Tables
The table button opens a grid of up to 8 × 10 cells; execute('insertTable', { rows, cols }) inserts up to 50 × 50. With the caret in a table, a contextual toolbar offers:
- insert a row above or below, delete a row; insert a column left or right, delete a column;
- header row (
<thead>withth scope="col") and header column (th scope="row"), also both; - table caption (
<caption>; an empty caption is not saved); - merge cells (select a range of cells first; their contents are joined with line breaks) and split cell;
- vertical alignment of cells: top, middle, bottom;
- delete table.
Dragging the border between columns sets column widths in percent. Enter in a cell adds a line break.
Images
The image button opens a dialog with the address, alt text and “Decorative image (no alternative text)”, which gives alt="" for images that carry no information. With filePicker or upload set, it also has “Browse” and “Upload”. “Size (px)” is filled in with the natural size of the image once the address is entered or chosen; with “Keep proportions” on, changing one dimension changes the other, and “Original size” restores the natural size. An image in a paragraph is inserted as a figure that splits the paragraph; in a list item or table cell the image is inserted inline.
When a figure is selected, its toolbar offers alignment (left, center, right), size (original, 25%, 50%, 75%, 100%), caption (figcaption), image properties and remove. The corner handles resize the image in percent.
Image properties add a link on the image (address and new tab) and the size as a width in percent or in pixels with “Keep proportions” and “Original size”. Double-click opens the properties of an inline image. With an image selected, the “Insert image” button is shown as pressed (aria-pressed="true") and opens the properties of that image instead of inserting a new one. While you edit, clicking a linked image selects it instead of following the link; in read-only mode the link works.
<figure class="image image-resized" style="width: 50%">
<a href="https://example.com/page" target="_blank" rel="noopener noreferrer">
<img src="/uploads/photo.webp" alt="Snow-covered peaks lit by the rising sun above a valley in fog" width="1600" height="1067" loading="lazy">
</a>
<figcaption>The Tatra Mountains seen from Gubałówka. Photo: Anna Nowak</figcaption>
</figure>
The alt text describes what the image shows and the caption adds what the image does not show (place, author, source), so do not repeat the alt text in the caption: a screen reader would read the same text twice.
Links
The link dialog (Ctrl+K) has:
- Link URL:
example.combecomeshttps://example.com, an e-mail address becomesmailto:, a phone number (+48 123 456 789) becomestel:+48123456789; relative addresses and#anchorsstay;javascript:is refused; - Browse with
filePickerset; - Link to an anchor or heading: a list of headings and anchors of the document; a heading gets its
idwhen you pick it; - Text to display, Title, Open in a new tab (adds
rel="noopener noreferrer"), Download the file instead of opening it; - Link relationship: dofollow (no
rel), or any ofnofollow,sponsored,ugc.
With link.externalNewTab: true a new link to another domain has “Open in a new tab” ticked. “Remove link” (unlink) removes the link around the caret.
Video and audio
The media dialog accepts:
- YouTube:
watch,youtu.be, Shorts, Live and embed addresses; a start time (t=90,t=1m30s,start=90) is kept. The player always usesyoutube-nocookie.com. - Vimeo:
vimeo.com/{id}and player addresses. - Video files (
.mp4,.webm…) and audio files (.mp3,.ogg…) on any allowed address, also relative.
The dialog also sets the title (for screen readers) and the aspect ratio: 16:9, 4:3, 1:1 or 9:16. Other addresses show “This address is not supported”. A YouTube or Vimeo address pasted alone into an empty paragraph becomes a player.
Pasting
- Word: list paragraphs become real nested lists (with the start number and the letter or Roman numbering of sublists), and so do numbered headings (
h1–h6with Word list numbering), which become list items, not headings; bold, italic, underline, subscript and superscript become tags; fonts, colours, Word classes and empty markup are removed; text alignment stays. - Google Docs: the wrapper Docs adds and the line breaks between paragraphs are removed, headings and lists stay, styled text becomes bold, italic and other tags, and links lose the underline Docs adds to them.
- Any HTML goes through the content model: scripts, event handlers,
javascript:links and styles outside the whitelist are removed. - Plain text: a line break becomes
<br>, an empty line starts a new paragraph. - Paste as plain text (toolbar toggle): while it is on, every paste inserts text only.
- Images from the clipboard are uploaded with
upload; without it they are not inserted. Images copied from Word together with text are left out (they arrive asfile:///or base64 addresses); insert them separately. If an upload fails, the image is removed and a message above the content shows the reason.
Other tools
| Tool | What it does |
|---|---|
| Find and replace | “Match case” option; replace one or all; the search matches parts of words |
| Source | edit the HTML; leaving source view cleans it through the content model in one undo step |
| Show blocks | outlines of paragraphs, headings and other blocks |
| Preview | the content in a window with the content styles |
prints the content with veditor-content.css | |
| Full screen | the editor fills the window; Esc leaves |
| Anchor | an id on the current block (ve- + text of the name), for links to that place |
| Table of contents | a list of links to the headings at the caret; insert it again after changing headings |
| Collapsible section | puts the selected blocks (or the paragraph with the caret) into a <details> section and moves the caret to its title; in an empty paragraph it inserts an empty section; again inside a section it removes it and keeps the content |
| Templates | the templates from the options, with title and description |
| Special characters, emoji | a grid of characters inserted at the caret |
| Date and time | the current date or time in the dateTime.formats of the interface language, as text |
| Code block | languages: plain text, HTML, CSS, JavaScript, PHP, SQL, JSON, Bash, Python, Java, C# (class="language-php"); several selected paragraphs become one block |
| List style | numbered: a, A, i, I, 01; bulleted: circle, square |
| List properties | start number and reversed numbering |
| Indent | paragraphs and headings up to 4 levels (indent-1 … indent-4); in a list it nests the item |
| Text colour, background, size | classes color-*, background-*, size-* (see HTML sanitizer) |
| Remove formatting | removes bold, italic, underline, colours, sizes, subscript and code from the selection; links stay |
| Right-to-left text | dir="rtl" on the current block |
| Review | accessibility checks: image without alt text, skipped heading level, empty heading, links like “click here”, table without headers, video without a title; with AI also a text check |
In the review panel, “Show” selects the element with the problem in the content and scrolls to it. The accessibility list refreshes after every change of the content while the panel is open, so a fixed problem disappears from it. Accessibility remarks have only “Show”: you fix them yourself, for example in the image dialog. “Apply” and “Skip” appear only with the remarks of the AI text check (AI edition), see AI.
Next steps
Something unclear? Send feedback on the documentation.