Trevixal API
    Preparing search index...

    Interface EditorUIOptions

    interface EditorUIOptions {
        blockCommands?: BlockCommands;
        codeFormatCommands?: CodeFormatCommands;
        container: HTMLElement;
        diagramCommands?: DiagramCommands;
        embedCommands?: EmbedCommands;
        fileActions?: FileActions;
        images?: ImageActions;
        mathCommands?: MathCommands;
        menus?: readonly Menu[];
        messages?: Readonly<Record<string, string>>;
        shortcutLabels?: Readonly<Record<string, string | null>>;
        showMenubar?: boolean;
        showStatusBar?: boolean;
        tableCommands?: TableCommands;
        toolbar?: ToolbarOptions;
        viewActions?: ViewActions;
    }
    Index
    blockCommands?: BlockCommands

    Advanced-block commands, from @trevixal/extension-blocks. Menu entries for blocks the host does not supply are removed rather than disabled.

    codeFormatCommands?: CodeFormatCommands

    JSON/XML formatting, from @trevixal/extension-format-code.

    container: HTMLElement

    Mount point. The menubar, toolbar and status bar are appended here.

    diagramCommands?: DiagramCommands

    Diagrams, from @trevixal/extension-diagram.

    embedCommands?: EmbedCommands

    Media embeds, from @trevixal/extension-embed.

    fileActions?: FileActions

    Open, save, download, import and print.

    images?: ImageActions
    mathCommands?: MathCommands

    Equations, from @trevixal/extension-math.

    menus?: readonly Menu[]
    messages?: Readonly<Record<string, string>>

    Translations 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.

    shortcutLabels?: Readonly<Record<string, string | null>>

    Shortcut 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.

    showMenubar?: boolean

    Hide the menubar for a compact, toolbar-only editor.

    showStatusBar?: boolean

    Hide the word/character count bar.

    tableCommands?: TableCommands
    toolbar?: ToolbarOptions
    viewActions?: ViewActions

    Host actions for chrome the UI does not own.