UNPKG

@textbus/editor

Version:

Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.

11 lines (10 loc) 285 B
import { Keymap } from '@textbus/core'; export interface OptionConfig { label?: string; iconClasses?: string[]; classes?: string[]; onClick(): void; keymap?: Keymap; disabled?: boolean; } export declare function createOption(config: OptionConfig): HTMLElement;