UNPKG

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

17 lines (15 loc) 501 B
import { default as FluentEditor } from '../fluent-editor'; interface I18NOptions { lang: string; langText: Record<string, string>; } declare class I18N { quill: FluentEditor; isFullscreen: boolean; options: I18NOptions; constructor(quill: FluentEditor, options: Partial<I18NOptions>); resolveLanguageOption(options: Partial<I18NOptions>): I18NOptions; changeLanguage(options: Partial<I18NOptions>): void; } export { I18NOptions }; export default I18N;