devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
17 lines (16 loc) • 695 B
TypeScript
export declare class HtmlBuilder {
getHtmlString(needDefaultMarkup?: boolean): string;
private _currentElement;
childElements: Array<Element | string>;
callbacks: Array<(target: HtmlBuilder) => void>;
isEmpty(): boolean;
clear(): this;
startChild(tagName: string, namespaceUri?: string): this;
configure<T extends Element = HTMLElement>(config: (element: T) => void): this;
addCallback(callback: (target: HtmlBuilder) => void): void;
assignFrom(builder: HtmlBuilder | string): this;
addElement(element: Element | string): this;
addBreak(cssText?: string): this;
endChild(tagName: string): this;
private addDefaultMarkup;
}