vditor
Version:
♏ 易于使用的 Markdown 编辑器,为适配不同的应用场景而生
7 lines (6 loc) • 327 B
TypeScript
/// <reference types="./types" />
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;