- Home
- Forum
- Angular - EJ 2
- Event Handlers are not self destroying after component destroy
Event Handlers are not self destroying after component destroy
Hey,
I'm using Rich Text Editor.
The event handlers are not self destroying after component on destroy.
Seems like other issue: https://www.syncfusion.com/forums/171320/dom-nodes-js-event-handlers-are-not-released-by-itself-after-control-destroyed
- Angular 14
- @syncfusion/ej2-angular-richtexteditor: "^20.2.43"
- Exact issue reproducing steps.
- Issue replicating video illustration.
- Entire code snippet.
- If possible, please share us with the issue reproducing runnable sample or modify the attached sample with the issue reproducing code.
Hi Vinitha,
After installing @syncfusion/ej2-richtexteditor component the error disappeared.
Let me explain:
1. I tried to create an example on StackBlitz, using only "@syncfusion/ej2-angular-richtexteditor";
2. I adjusted the toolbar CSS with:
3. StackBlitz required the ej2 modules to import. So, I installed the @syncfusion/ej2-richtexteditor and the orthers.
4. And puff... the error disappeared in the StackBlitz project.
5. I tried installing @syncfusion/ej2-richtexteditor on my original project and fixed the problem.
So, my conclusion is: installing only @syncfusion/ej2-angular-richtexteditor to use the rich text editor works, but need correction.
Hi Gabriel,
- 3 Replies
- 2 Participants
-
GA Gabriel
- Aug 15, 2022 01:44 PM UTC
- Aug 17, 2022 05:52 AM UTC