Optional ReadonlyactiveOptional ReadonlyactiveThe language in force, so its entry under View ▸ Language shows the tick.
Optional ReadonlyactiveThe source format on show, or null while the rich surface is up.
Optional ReadonlyactiveThe theme now in force, as the name of its menu entry ('themeDark',
'themeNord'…). The theme entries behave as one radio group, so exactly
one of them carries the tick.
Optional ReadonlyactiveThe preset the toolbar matches, if any, so its entry shows the tick.
Optional ReadonlyactiveThe width now in force, so the four width entries show which is chosen.
Optional ReadonlyaddComment on the selected text: @trevixal/extension-comments keeps the threads.
Optional ReadonlyassistAsk the host's writing assistant to rewrite, summarise or translate the
selection, or to continue from the caret. Only the actions named in
assistActions get an entry.
Optional ReadonlyassistOptional ReadonlyautocorrectEdit the AutoCorrect list.
Optional ReadonlycheckList what would trip up a reader with a screen reader or low vision.
Optional ReadonlycopyOptional ReadonlycustomOptional ReadonlycustomizeOptional ReadonlycustomOptional ReadonlydocumentChoose the document's body and heading fonts, saved in its styles.
Optional ReadonlyexportDownload the theme in force as a JSON file.
Optional ReadonlyfindList the sentences other documents in the workspace also have.
Optional ReadonlyformatOptional ReadonlyimportRead a theme from a JSON file and apply it.
Optional ReadonlyinsertOptional ReadonlyinsertPut a form field in at the caret: @trevixal/extension-forms holds it.
Optional ReadonlyisWhether spell checking is on, so its menu entry reports the state it toggles.
Optional ReadonlyisWhether a piece of chrome is currently on, so its menu entry can show a tick. Without it every one of these entries looks the same whether it is on or off, and the menu stops being a place you can read the editor's state from. You have to toggle something to find out what it was.
The host owns this chrome, so only the host can answer. Anything left unanswered simply renders as a plain command, exactly as before.
Optional ReadonlyisWhether a check is on, so its menu entry shows a check mark.
Optional ReadonlylanguagesThe codes setLanguage can switch to; entries for the rest are left out.
Optional ReadonlymailOne document per row of a CSV or JSON file, downloaded together.
Optional ReadonlymanageOptional ReadonlyopenOptional ReadonlypresentShow the document as slides, one top-level heading each.
Optional ReadonlysetStandard keys, or Emacs's or Vim's for moving and editing.
Optional ReadonlysetShow the chrome in another language, by its code in UI_LANGUAGES.
Optional ReadonlysetOptional ReadonlysetApply a named palette from createThemeController, or null for the plain one.
Optional ReadonlysetShow a preset's toolbar groups and hide the rest.
Optional ReadonlysetOptional ReadonlysetOptional ReadonlyshowOptional ReadonlyshowWho changed the document, when, and by how much, with a download of it.
Optional ReadonlyshowOptional ReadonlyshowOptional ReadonlytoggleMisspellings put right as you type (Word's AutoCorrect), on or off.
Optional ReadonlytoggleShow or hide the comment threads beside the document.
Optional ReadonlytoggleType what the microphone hears at the caret, or stop.
Optional ReadonlytoggleKeep the theme in force with the document, or stop keeping it.
Optional ReadonlytoggleA font and spacing easier to read with dyslexia, or the document's own.
Optional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleFullscreen across the whole screen, the document stretching with the window, where toggleFullscreen keeps it at its own width.
Optional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleRead the document aloud from the caret, the caret following the voice, or stop.
Optional ReadonlytoggleTint each sentence by how hard it reads, or take the tint off.
Optional ReadonlytoggleOptional ReadonlytoggleTransitions, animations and smooth scrolling off, or back on.
Optional ReadonlytoggleCurly quotes, dashes and symbols as you type (Word's AutoFormat), on or off.
Optional ReadonlytoggleSwap the rich surface for its Markdown or HTML source.
Optional ReadonlytoggleOptional ReadonlytoggleA second live editor on the same document (the workspace's mirror mode).
Optional ReadonlytoggleOptional ReadonlytoggleShow or hide the Styles pane, which the host lays out.
Optional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleToggle one writing check; each gets its own entry under Tools ▸ Check writing.
The key preset in force, so its entry under Tools ▸ Key bindings shows the tick.