feat: add vditor locally
This commit is contained in:
8
public/vditor/ts/upload/index.d.ts
vendored
Normal file
8
public/vditor/ts/upload/index.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
declare class Upload {
|
||||
element: HTMLElement;
|
||||
isUploading: boolean;
|
||||
range: Range;
|
||||
constructor();
|
||||
}
|
||||
declare const uploadFiles: (vditor: IVditor, files: FileList | DataTransferItemList | File[], element?: HTMLInputElement) => Promise<void>;
|
||||
export { Upload, uploadFiles };
|
||||
Reference in New Issue
Block a user