Dotloom TypeScript API
    Preparing search index...

    Interface DotloomEditorProps

    interface DotloomEditorProps {
        autosave?: boolean | { key?: string; storage?: StorageAdapter };
        children?: ReactNode;
        className?: string;
        core?: EditorCoreOptions;
        document?: Uint8Array<ArrayBufferLike>;
        engine?: EngineOptions;
        locale?: string;
        messages?: Partial<Record<string, string>>;
        name?: string;
        onReady?: (handle: EditorHandle) => void;
        plugins?: DotloomPlugin[];
        style?: CSSProperties;
        theme?: ThemeMode;
        viewport?: Omit<ViewportOptions, "theme">;
    }
    Index
    autosave?: boolean | { key?: string; storage?: StorageAdapter }

    Autosave target: a custom adapter, else the first storage adapter contributed by an enabled plugin, else IndexedDB (memory where IndexedDB is unavailable). false disables autosave.

    children?: ReactNode

    Extra sidebar content (rendered inside the editor context).

    className?: string
    document?: Uint8Array<ArrayBufferLike>

    Initial .dotl bytes.

    engine?: EngineOptions
    locale?: string
    messages?: Partial<Record<string, string>>
    name?: string

    Document file name used when saving.

    onReady?: (handle: EditorHandle) => void
    plugins?: DotloomPlugin[]
    style?: CSSProperties
    theme?: ThemeMode
    viewport?: Omit<ViewportOptions, "theme">