The options used to initialize an editor.

interface IOptions {
    config?: Record<string, any>;
    extensions?: Extension[];
    host: HTMLElement;
    inline?: boolean;
    model: CodeEditor.IModel;
    translator?: ITranslator;
    uuid?: string;
}

Hierarchy

  • IOptions

    Properties

    config?: Record<string, any>

    The configuration options for the editor.

    extensions?: Extension[]

    List of editor extensions to be added.

    The host widget used by the editor.

    inline?: boolean

    Whether the editor will be inline or not.

    The model used by the editor.

    translator?: ITranslator

    The configuration options for the editor.

    uuid?: string

    The desired uuid for the editor.