UNPKG

@syncfusion/ej2-richtexteditor

Version:
35 lines (32 loc) 1.07 kB
import { Formatter } from './formatter'; import { IEditorModel, IHtmlFormatterModel } from './../../common/interface'; import { FormatPainterSettingsModel } from '../../models'; /** * HTML adapter * * @hidden */ export declare class HTMLFormatter extends Formatter { keyConfig: { [key: string]: string; }; currentDocument: Document; element: Element; editorManager: IEditorModel; private toolbarUpdate; constructor(options?: IHtmlFormatterModel); private initialize; /** * Update the formatter of RichTextEditor * * @param {Element} editElement - specifies the edit element. * @param {Document} doc - specifies the doucment * @param {number} options - specifies the options * @param {FormatPainterSettingsModel} formatPainterSettings - specifies the format painter settings * @returns {void} * @hidden */ updateFormatter(editElement: Element, doc?: Document, options?: { [key: string]: number; }, formatPainterSettings?: FormatPainterSettingsModel): void; }