Trilium Frontend API
    Preparing search index...

    Interface EditorConfig

    interface EditorConfig {
        indentSize?: number;
        lineWrapping?: boolean;
        onContentChanged?: ContentChangedListener;
        parent: HTMLElement;
        placeholder?: string;
        preferPerformance?: boolean;
        readOnly?: boolean;
        tabIndex?: number;
        useTabs?: boolean;
        vimKeybindings?: boolean;
    }
    Index

    Properties

    indentSize?: number

    The number of spaces used for indentation (also used as the tab display width). Defaults to 4.

    lineWrapping?: boolean
    onContentChanged?: ContentChangedListener
    parent: HTMLElement
    placeholder?: string
    preferPerformance?: boolean

    Disables some of the nice-to-have features (bracket matching, syntax highlighting, indentation markers) in order to improve performance.

    readOnly?: boolean
    tabIndex?: number
    useTabs?: boolean

    If true, indent using a tab character instead of spaces. Defaults to false.

    vimKeybindings?: boolean