Trevixal API
    Preparing search index...

    Interface QuickInsertItem

    One entry of the quick-insert menu.

    interface QuickInsertItem {
        description?: string;
        group?: string;
        icon?: IconName;
        isEnabled?: (snapshot: EditorSnapshot) => boolean;
        label: string;
        name: string;
        run: (editor: Editor) => void;
    }
    Index
    description?: string
    group?: string
    icon?: IconName
    isEnabled?: (snapshot: EditorSnapshot) => boolean

    False where the entry cannot apply, which leaves it out of the list.

    label: string
    name: string
    run: (editor: Editor) => void