feat: add vditor locally
This commit is contained in:
8
public/vditor/ts/toolbar/EditMode.d.ts
vendored
Normal file
8
public/vditor/ts/toolbar/EditMode.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <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;
|
||||
}
|
||||
Reference in New Issue
Block a user