interface Options {
    autogrow?: boolean;
    autogrowOnEnter?: boolean;
    btns?: (string | string[])[];
    btnsDef?: Record<string, zkmax.inp.Trumbowyg.Button<unknown>>;
    btnsGrps?: Record<string, string[]>;
    fixedBtnPane?: boolean;
    fixedFullWidth?: boolean;
    imgDblClickHandler?: (() => void);
    inlineElementsSelector?: string;
    lang?: string;
    pasteHandler?: ((event) => void)[];
    plugins?: Record<string, Plugin>;
    prefix?: string;
    removeformatPasted?: boolean;
    resetCss?: boolean;
    semantic?: boolean;
    svgPath?: string | boolean;
    tagsToRemove?: string[];
}

Hierarchy

Properties

autogrow?: boolean
autogrowOnEnter?: boolean
btns?: (string | string[])[]
btnsDef?: Record<string, zkmax.inp.Trumbowyg.Button<unknown>>
btnsGrps?: Record<string, string[]>
fixedBtnPane?: boolean
fixedFullWidth?: boolean
imgDblClickHandler?: (() => void)

Type declaration

    • (): void
    • Returns void

inlineElementsSelector?: string
lang?: string
pasteHandler?: ((event) => void)[]

Type declaration

    • (event): void
    • Parameters

      • event: ClipboardEvent

      Returns void

plugins?: Record<string, Plugin>
prefix?: string
removeformatPasted?: boolean
resetCss?: boolean
semantic?: boolean
svgPath?: string | boolean
tagsToRemove?: string[]