feat: add vditor locally
This commit is contained in:
1
public/vditor/ts/ir/expandMarker.d.ts
vendored
Normal file
1
public/vditor/ts/ir/expandMarker.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export declare const expandMarker: (range: Range, vditor: IVditor) => void;
|
||||
1
public/vditor/ts/ir/highlightToolbarIR.d.ts
vendored
Normal file
1
public/vditor/ts/ir/highlightToolbarIR.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export declare const highlightToolbarIR: (vditor: IVditor) => void;
|
||||
13
public/vditor/ts/ir/index.d.ts
vendored
Normal file
13
public/vditor/ts/ir/index.d.ts
vendored
Normal 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/ts/ir/input.d.ts
vendored
Normal file
1
public/vditor/ts/ir/input.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export declare const input: (vditor: IVditor, range: Range, ignoreSpace?: boolean, event?: InputEvent) => void;
|
||||
8
public/vditor/ts/ir/process.d.ts
vendored
Normal file
8
public/vditor/ts/ir/process.d.ts
vendored
Normal 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;
|
||||
1
public/vditor/ts/ir/processKeydown.d.ts
vendored
Normal file
1
public/vditor/ts/ir/processKeydown.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean;
|
||||
Reference in New Issue
Block a user