feat: add vditor locally
This commit is contained in:
22
public/vditor/ts/wysiwyg/index.d.ts
vendored
Normal file
22
public/vditor/ts/wysiwyg/index.d.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/// <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 };
|
||||
Reference in New Issue
Block a user