Files
blog-vue/public/vditor/ts/toolbar/EditMode.d.ts
2025-11-12 14:39:23 +08:00

9 lines
390 B
TypeScript

/// <reference types="./types" />
import { MenuItem } from "./MenuItem";
export declare const setEditMode: (vditor: IVditor, type: string, event: Event | string) => void;
export declare class EditMode extends MenuItem {
element: HTMLElement;
constructor(vditor: IVditor, menuItem: IMenuItem);
_bindEvent(vditor: IVditor, panelElement: HTMLElement, menuItem: IMenuItem): void;
}