@opentiny/fluent-editor
Version:
A rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It's powerful and out-of-the-box.
16 lines (15 loc) • 623 B
TypeScript
import { default as TypePicker } from 'quill/ui/picker';
import { EasyColorPicker } from 'quill-easy-color';
declare const OriginPicker: typeof TypePicker;
export declare class Picker extends OriginPicker {
buildLabel(): HTMLSpanElement;
buildItem(option: HTMLOptionElement): HTMLSpanElement;
selectItem(item: HTMLElement | null, trigger?: boolean): void;
}
export declare class ColorPicker extends EasyColorPicker {
static clearText: string;
static customText: string;
constructor(select: HTMLSelectElement, label: string, options: any);
buildItem(option: HTMLOptionElement): any;
}
export {};