Contents

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:

TypeResult
# … ######heading H1–H6
* or -bulleted list
1. or 1)numbered list
[] or [ ]task list
>block quote
---horizontal line
three backtickscode block

Inside text:

TypeResult
**bold**bold
*italic* or _italic_italic
text between two backticks (`)inline code
https://…, http://… or www.… followed by a space or Entera 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:

TypeResult
...…
-- 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

KeysAction
Ctrl+B, Ctrl+I, Ctrl+U, Ctrl+Shift+Xbold, italic, underline, strikethrough; with no selection the format applies to the text you type next
Ctrl+Klink dialog
Ctrl+Z, Ctrl+Y or Ctrl+Shift+Zundo, redo
Ctrl+Ffind and replace; Esc returns to the content
Ctrl+Entertick or untick a task list item
Tab, Shift+Tabin 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+Enterline break (<br>)
Alt+F10move to the toolbar; arrow keys move between items, Esc returns to the content
Escleave full screen
Alt+0list of keyboard shortcuts

On macOS, Cmd replaces Ctrl.

Keyboard shortcuts window opened with Alt+0, listing every shortcut of the editor

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> with th 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.

Contextual table toolbar above a table: insert and delete rows and columns, header row and column, caption, merge and split cells, vertical alignment, delete table

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.

Image properties dialog with the address, alt text, decorative image, link, new tab and size in percent or pixels
<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.

The link dialog (Ctrl+K) has:

  • Link URL: example.com becomes https://example.com, an e-mail address becomes mailto:, a phone number (+48 123 456 789) becomes tel:+48123456789; relative addresses and #anchors stay; javascript: is refused;
  • Browse with filePicker set;
  • Link to an anchor or heading: a list of headings and anchors of the document; a heading gets its id when 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 of nofollow, 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.

Link dialog with the address, anchor or heading list, text to display, title, new tab, download and the link relationship options dofollow, nofollow, sponsored and ugc

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 uses youtube-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.

Media dialog with a YouTube address, the aspect ratio and the video title for screen readers

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–h6 with 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 as file:/// or base64 addresses); insert them separately. If an upload fails, the image is removed and a message above the content shows the reason.
A Word document pasted into the editor: nested numbered and bulleted lists and a table with headers, without Word formatting

Other tools

ToolWhat it does
Find and replace“Match case” option; replace one or all; the search matches parts of words
Sourceedit the HTML; leaving source view cleans it through the content model in one undo step
Show blocksoutlines of paragraphs, headings and other blocks
Previewthe content in a window with the content styles
Printprints the content with veditor-content.css
Full screenthe editor fills the window; Esc leaves
Anchoran id on the current block (ve- + text of the name), for links to that place
Table of contentsa list of links to the headings at the caret; insert it again after changing headings
Collapsible sectionputs 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
Templatesthe templates from the options, with title and description
Special characters, emojia grid of characters inserted at the caret
Date and timethe current date or time in the dateTime.formats of the interface language, as text
Code blocklanguages: plain text, HTML, CSS, JavaScript, PHP, SQL, JSON, Bash, Python, Java, C# (class="language-php"); several selected paragraphs become one block
List stylenumbered: a, A, i, I, 01; bulleted: circle, square
List propertiesstart number and reversed numbering
Indentparagraphs and headings up to 4 levels (indent-1 … indent-4); in a list it nests the item
Text colour, background, sizeclasses color-*, background-*, size-* (see HTML sanitizer)
Remove formattingremoves bold, italic, underline, colours, sizes, subscript and code from the selection; links stay
Right-to-left textdir="rtl" on the current block
Reviewaccessibility 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
Find and replace panel above the content with two highlighted matches, “Match case”, “Replace” and “Replace all”
Source view with the HTML of the content in the editor
Review side panel with four accessibility remarks: image without alt text, skipped heading level, link text “here” and a table without headers, each with “Show”

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.