feat: add vditor locally

This commit is contained in:
merlin
2025-11-12 14:39:23 +08:00
parent 16e8fd2d65
commit 4e21c62e26
532 changed files with 43947 additions and 38 deletions

4
public/vditor/ts/ui/initUI.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
export declare const initUI: (vditor: IVditor) => void;
export declare const setPadding: (vditor: IVditor) => void;
export declare const setTypewriterPosition: (vditor: IVditor) => void;
export declare function UIUnbindListener(): void;

1
public/vditor/ts/ui/setCodeTheme.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
export declare const setCodeTheme: (codeTheme: string, cdn?: string) => void;

View File

@@ -0,0 +1 @@
export declare const setContentTheme: (contentTheme: string, path: string) => void;

View File

@@ -0,0 +1 @@
export declare const setPreviewMode: (mode: "both" | "editor", vditor: IVditor) => void;

1
public/vditor/ts/ui/setTheme.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
export declare const setTheme: (vditor: IVditor) => void;