feat: add vditor locally
This commit is contained in:
1
public/vditor/ts/preview/image.d.ts
vendored
Normal file
1
public/vditor/ts/preview/image.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export declare const previewImage: (oldImgElement: HTMLImageElement, lang?: keyof II18n, theme?: string) => void;
|
||||
10
public/vditor/ts/preview/index.d.ts
vendored
Normal file
10
public/vditor/ts/preview/index.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/// <reference types="./types" />
|
||||
export declare class Preview {
|
||||
element: HTMLElement;
|
||||
previewElement: HTMLElement;
|
||||
private mdTimeoutId;
|
||||
constructor(vditor: IVditor);
|
||||
render(vditor: IVditor, value?: string): void;
|
||||
private afterRender;
|
||||
private copyToX;
|
||||
}
|
||||
Reference in New Issue
Block a user