Skip to content
Advertisement

Tag: rich-text-editor

Detach event handlers selectively

I have a html richText editor. My code structure is like this: Our app is single page application, and there are multiple richtexteditor instances opened in different panes. I need to destroy the instance when the node corresponding to this has been removed. Destroy should remove all the event handlers attached by that instance. So far Date.now() for uniquely identifying

Advertisement