@syncfusion/ej2-richtexteditor
Version:
Essential JS 2 RichTextEditor component
40 lines (37 loc) • 982 B
TypeScript
import { Formatter } from './formatter';
import { IEditorModel, IMarkdownFormatterModel } from './../../common/interface';
/**
* Markdown adapter
*
* @hidden
*/
export declare class MarkdownFormatter extends Formatter {
keyConfig: {
[key: string]: string;
};
formatTags: {
[key: string]: string;
};
listTags: {
[key: string]: string;
};
selectionTags: {
[key: string]: string;
};
editorManager: IEditorModel;
private element;
constructor(options?: IMarkdownFormatterModel);
private initialize;
/**
* Update the formatter of RichTextEditor
*
* @param {Element} editElement - specifies the edit element.
* @param {Document} doc - specifies the document.
* @param {number} options - specifies the options
* @returns {void}
* @hidden
*/
updateFormatter(editElement: Element, doc?: Document, options?: {
[key: string]: number;
}): void;
}