APIRichText methodsdestructor()On this pagedestructor() Description Removes all HTML elements of RichText, and detaches all related eventsUsagedestructor(): void;Exampleconst editor = new richtext.Richtext("#root", { // configuration properties});// remove RichTexteditor.destructor();