UNPKG

@textbus/editor

Version:

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

12 lines (11 loc) 400 B
import { Observable } from '@tanbo/stream'; export declare class Palette { private styleName; static defaultColors: string[]; elementRef: HTMLDivElement; onComplete: Observable<string | null>; private picker; private completeEvent; constructor(styleName: string, btnText: string, recentText: string, backText: string, paletteText: string); update(d?: string): void; }