UNPKG

@syncfusion/ej2-richtexteditor

Version:
26 lines (24 loc) 781 B
import { IRichTextEditor } from '../base/interface'; /** * XhtmlValidation module called when set enableXhtml as true */ export declare class XhtmlValidation { private parent; private currentElement; constructor(parent?: IRichTextEditor); private addEventListener; private removeEventListener; private enableXhtmlValidation; /** * @param {string} currentValue - specifies the string value. * @param {number} valueLength - specifies the length of the current value. * @returns {void} */ selfEncloseValidation(currentValue: string, valueLength?: number): string; private clean; private ImageTags; private removeTags; private RemoveElementNode; private RemoveUnsupported; private RemoveAttributeByName; }