@liquid-js/underflow
    Preparing search index...

    Interface EventMap

    interface EventMap {
        load?: (param: EditorCore | Viewer) => void;
        change?: (editorType: EditorType) => void;
        caretChange?: (editorType: EditorType) => void;
        focus?: (editorType: EditorType) => void;
        blur?: (editorType: EditorType) => void;
        keydown?: (editorType: EditorType, ev: KeyboardEvent) => void;
        keyup?: (editorType: EditorType, ev: KeyboardEvent) => void;
        beforePreviewRender?: (html: string) => string;
        beforeConvertWysiwygToMarkdown?: (markdownText: string) => string;
        clickWidget?: (param: WidgetClickEvent) => void;
    }
    Index
    load?: (param: EditorCore | Viewer) => void
    change?: (editorType: EditorType) => void
    caretChange?: (editorType: EditorType) => void

    the selection moved

    focus?: (editorType: EditorType) => void
    blur?: (editorType: EditorType) => void
    keydown?: (editorType: EditorType, ev: KeyboardEvent) => void
    keyup?: (editorType: EditorType, ev: KeyboardEvent) => void
    beforePreviewRender?: (html: string) => string

    returns the HTML to show in the preview

    beforeConvertWysiwygToMarkdown?: (markdownText: string) => string

    returns the markdown to use for the WYSIWYG content

    clickWidget?: (param: WidgetClickEvent) => void

    a widget's text was clicked in the markdown editor