The options used to initialize a code editor widget.

interface IOptions {
    editorOptions?: Omit<CodeEditor.IOptions, "host" | "model">;
    factory: Factory;
    model: CodeEditor.IModel;


editorOptions?: Omit<CodeEditor.IOptions, "host" | "model">

Code editor options

factory: Factory

A code editor factory.


The widget needs a factory and a the editor options because it needs to provide its own node as the host.

The content model for the wrapper.