UNPKG

vditor

Version:

♏ 易于使用的 Markdown 编辑器,为适配不同的应用场景而生

23 lines (22 loc) 638 B
/// <reference types="./types" /> declare class WYSIWYG { range: Range; element: HTMLPreElement; popover: HTMLDivElement; selectPopover: HTMLDivElement; afterRenderTimeoutId: number; hlToolbarTimeoutId: number; preventInput: boolean; composingLock: boolean; commentIds: string[]; private scrollListener; constructor(vditor: IVditor); getComments(vditor: IVditor, getData?: boolean): ICommentsData[]; triggerRemoveComment(vditor: IVditor): void; showComment(): void; hideComment(): void; unbindListener(): void; private copy; private bindEvent; } export { WYSIWYG };