feat: add vditor locally
This commit is contained in:
20
public/vditor/ts/toolbar/setToolbar.d.ts
vendored
Normal file
20
public/vditor/ts/toolbar/setToolbar.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
export declare const removeCurrentToolbar: (toolbar: {
|
||||
[key: string]: HTMLElement;
|
||||
}, names: string[]) => void;
|
||||
export declare const setCurrentToolbar: (toolbar: {
|
||||
[key: string]: HTMLElement;
|
||||
}, names: string[]) => void;
|
||||
export declare const enableToolbar: (toolbar: {
|
||||
[key: string]: HTMLElement;
|
||||
}, names: string[]) => void;
|
||||
export declare const disableToolbar: (toolbar: {
|
||||
[key: string]: HTMLElement;
|
||||
}, names: string[]) => void;
|
||||
export declare const hideToolbar: (toolbar: {
|
||||
[key: string]: HTMLElement;
|
||||
}, names: string[]) => void;
|
||||
export declare const showToolbar: (toolbar: {
|
||||
[key: string]: HTMLElement;
|
||||
}, names: string[]) => void;
|
||||
export declare const hidePanel: (vditor: IVditor, panels: string[], exceptElement?: HTMLElement) => void;
|
||||
export declare const toggleSubMenu: (vditor: IVditor, panelElement: HTMLElement, actionBtn: Element, level: number) => void;
|
||||
Reference in New Issue
Block a user