1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-07-07 01:11:10 +08:00
2022-05-23 14:56:24 +08:00

23 lines
638 B
TypeScript

/// <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 };