process.d.ts 752 B

123456789101112
  1. /// <reference types="./types" />
  2. export declare const processPaste: (vditor: IVditor, text: string) => void;
  3. export declare const getSideByType: (spanNode: Node, type: string, isPrevious?: boolean) => false | Element;
  4. export declare const processSpinVditorSVDOM: (html: string, vditor: IVditor) => string;
  5. export declare const processPreviousMarkers: (spanElement: HTMLElement) => string;
  6. export declare const processAfterRender: (vditor: IVditor, options?: {
  7. enableAddUndoStack: boolean;
  8. enableHint: boolean;
  9. enableInput: boolean;
  10. }) => void;
  11. export declare const processHeading: (vditor: IVditor, value: string) => void;
  12. export declare const processToolbar: (vditor: IVditor, actionBtn: Element, prefix: string, suffix: string) => void;