feat: add vditor locally
This commit is contained in:
7
public/vditor/ts/util/compatibility.d.ts
vendored
Normal file
7
public/vditor/ts/util/compatibility.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export declare const isSafari: () => boolean;
|
||||
export declare const isFirefox: () => boolean;
|
||||
export declare const accessLocalStorage: () => boolean;
|
||||
export declare const getEventName: () => "click" | "touchstart";
|
||||
export declare const isCtrl: (event: KeyboardEvent) => boolean;
|
||||
export declare const updateHotkeyTip: (hotkey: string) => string;
|
||||
export declare const isChrome: () => boolean;
|
||||
Reference in New Issue
Block a user