Interface CanvasEditorOptions

interface CanvasEditorOptions {
    initialFragment?: boolean;
    initialMode?: CanvasEditorMode;
    readOnly?: boolean;
}

Properties

initialFragment?: boolean

Whether the editor should be initialized with a fragment.

initialMode?: CanvasEditorMode

Mode in which the editor will be initialized.

'molecule'
readOnly?: boolean

No toolbar and user interactions are ignored.

false