Optional ReadonlyblockOptional ReadonlycodeTerminal, diff and runnable code blocks, from @trevixal/extension-code-highlight.
Optional ReadonlycodeJSON/XML formatting, from @trevixal/extension-format-code.
ReadonlycontainerMount point. The menubar, toolbar and status bar are appended here.
Optional ReadonlydiagramDiagrams, from @trevixal/extension-diagram.
Optional ReadonlyembedMedia embeds, from @trevixal/extension-embed.
Optional ReadonlyfileOpen, save, download, import and print.
Optional ReadonlyimagesOptional ReadonlylanguageThe language messages is in, as lang takes it, with its direction; English by default.
Optional ReadonlylinksLinks: checkURL says whether an outside address answers, for Tools ▸
Check links. Without it, outside links are only checked for being well
formed; the host decides whether the editor reaches out at all.
Optional ReadonlymathEquations, from @trevixal/extension-math.
Optional ReadonlymenusOptional ReadonlymessagesTranslations for every label the chrome renders, keyed menu.<name> and
toolbar.<name>. Anything missing keeps its English, so a partial
catalogue is a working one. defaultMessages() lists every key.
Optional ReadonlysecurityRedaction, locked sections and Lock now, from @trevixal/extension-security.
Optional ReadonlyshortcutShortcut text printed beside menu entries, keyed by item name. Pass
createShortcutManager().labels() so the menus print exactly the keys
that fire. When given, the menus' own default labels are not used.
Optional ReadonlyshowHide the menubar for a compact, toolbar-only editor.
Optional ReadonlyshowHide the word/character count bar.
Optional ReadonlysnippetsWhere snippets are kept. With it, Insert ▸ Snippet and Tools ▸ Snippets appear, and abbreviations expand as they are typed.
Optional ReadonlytableOptional ReadonlytoolbarOptional ReadonlyviewHost actions for chrome the UI does not own.
Optional ReadonlyworkspaceWhat the document workspace offers the Insert menu.
Optional ReadonlyincludeDocument?: () => voidInclude a document, or a block of one, kept in step with it.
Advanced-block commands, from
@trevixal/extension-blocks. Menu entries for blocks the host does not supply are removed rather than disabled.