feat: add vditor locally
This commit is contained in:
11
public/vditor/ts/sv/process.d.ts
vendored
Normal file
11
public/vditor/ts/sv/process.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export declare const processPaste: (vditor: IVditor, text: string) => void;
|
||||
export declare const getSideByType: (spanNode: Node, type: string, isPrevious?: boolean) => false | Element;
|
||||
export declare const processSpinVditorSVDOM: (html: string, vditor: IVditor) => string;
|
||||
export declare const processPreviousMarkers: (spanElement: HTMLElement) => string;
|
||||
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;
|
||||
Reference in New Issue
Block a user