vue-devui
Version:
DevUI components based on Vite and Vue3
23 lines (22 loc) • 604 B
TypeScript
export interface IToolbarItemConfig {
id: string;
name?: string;
exitName?: string;
type?: 'button' | 'dropDown';
icon?: string;
exitIcon?: string;
template?: any;
component?: any;
shortKey?: string;
params?: {
[key: string]: any;
};
handler?(editor?: any, params?: any): void;
}
export declare const DEFAULT_TOOLBARS: Record<string, IToolbarItemConfig>;
export declare const DEFAULT_TOOLBAR_CONFIG: (string | string[])[];
export declare const FONT_COLORS: string[];
export declare const FONT_SIZE_LIST: {
name: string;
value: number;
}[];