UNPKG

@syncfusion/ej2-richtexteditor

Version:
30 lines (28 loc) 1.02 kB
export declare class ClearFormat { private static BLOCK_TAGS; private static NONVALID_PARENT_TAGS; private static IGNORE_PARENT_TAGS; private static NONVALID_TAGS; private static defaultTag; private static domNode; /** * clear method * * @param {Document} docElement - specifies the document element. * @param {Node} endNode - specifies the end node * @param {string} enterAction - specifies the enter key action * @param {string} selector - specifies the string value * @param {string} command - specifies the command value * @returns {void} * @hidden */ static clear(docElement: Document, endNode: Node, enterAction: string, selector?: string, command?: string): void; private static reSelection; private static clearBlocks; private static spliceParent; private static removeChild; private static removeParent; private static unWrap; private static clearInlines; private static removeInlineParent; }