UNPKG

@cairn214/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.

15 lines (14 loc) 533 B
import { ExpandedQuillOptions, default as Quill } from 'quill'; import { IEditorConfig } from './config/types'; export interface I18NOptions { lang: string; langText: Record<string, string>; } export declare class FluentEditor extends Quill { isFullscreen: boolean; options: IEditorConfig & ExpandedQuillOptions; constructor(container: HTMLElement | string, options?: IEditorConfig); changeLanguage(options: Partial<I18NOptions>): void; } declare const _default: typeof FluentEditor; export default _default;