Trevixal API
    Preparing search index...

    Interface EditorViewOptions

    interface EditorViewOptions {
        announce?: boolean;
        ariaLabel?: string;
        autofocus?: boolean;
        editable?: boolean;
        inputRules?: readonly InputRule[];
        keymap?: Readonly<Record<string, KeyBinding>>;
        nodeViews?: Readonly<Record<string, NodeViewFactory>>;
        placeholder?: string;
        spellcheck?: boolean;
    }
    Index
    announce?: boolean

    Announce structural edits: blocks deleted, the block under the caret becoming a different kind, to assistive technology through a live region. On by default: a reader already reports typed characters from the DOM, but not a key press that removed three paragraphs, and silence after a destructive edit is the worst thing this surface can do. Pass false when the host provides its own live region.

    ariaLabel?: string

    Accessible name for the editing surface. It carries role="textbox", and a textbox without a name is announced as an unlabelled edit field. The reader can tell you are in one, but not what it is for. Defaults to "Document"; give it the name of the thing being edited where you can.

    autofocus?: boolean
    editable?: boolean

    Start read-only. Flip at runtime with EditorView.setEditable.

    inputRules?: readonly InputRule[]

    Replaces the default markdown-style input rules when provided.

    keymap?: Readonly<Record<string, KeyBinding>>

    Extra key bindings; they win over the base keymap.

    nodeViews?: Readonly<Record<string, NodeViewFactory>>

    Custom renderers per node type (framework components in the document).

    placeholder?: string

    Text shown while the document is empty.

    spellcheck?: boolean

    Browser spell checking; the browser's default when omitted.