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

5
public/vditor/ts/util/toc.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
export declare const renderToc: (vditor: IVditor) => void;
export declare const clickToc: (event: MouseEvent & {
target: HTMLElement;
}, vditor: IVditor) => void;
export declare const keydownToc: (blockElement: HTMLElement, vditor: IVditor, event: KeyboardEvent, range: Range) => boolean;