fix: fix vditor directory

This commit is contained in:
merlin
2025-11-12 15:37:28 +08:00
parent 66504eebe5
commit fbec5aeb49
526 changed files with 43774 additions and 0 deletions

View File

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

View File

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

13
public/vditor/dist/ts/ir/index.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
/// <reference types="./types" />
declare class IR {
range: Range;
element: HTMLPreElement;
processTimeoutId: number;
hlToolbarTimeoutId: number;
composingLock: boolean;
preventInput: boolean;
constructor(vditor: IVditor);
private copy;
private bindEvent;
}
export { IR };

1
public/vditor/dist/ts/ir/input.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
export declare const input: (vditor: IVditor, range: Range, ignoreSpace?: boolean, event?: InputEvent) => void;

8
public/vditor/dist/ts/ir/process.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
export declare const processHint: (vditor: IVditor) => void;
export declare const processAfterRender: (vditor: IVditor, options?: {
enableAddUndoStack: boolean;
enableHint: boolean;
enableInput: boolean;
}) => void;
export declare const processHeading: (vditor: IVditor, value: string) => void;
export declare const processToolbar: (vditor: IVditor, actionBtn: Element, prefix: string, suffix: string) => void;

View File

@@ -0,0 +1 @@
export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean;