I have a tinymce editor inside an infragistics igniteui angular tab component. When my form 1st renders, I see the data from database properly displayed in tinymce. When I switch to another tab that also has a tinymce editor, it works and the editor on that 2nd tab is also properly displaying it's contents. If I then switch back to the 1st tab, the contents have disappeared from 1st tinymce. All the other controls on this 1st tab still show their contents. If I switch to the 2nd tab, that editor is also now empty.
In both cases, after switching tabs, the editor is no longer usable.
I've tried both loading tinymce at application startup and also lazy loading.
As per official documentation:
Apparently, TinyMCE relies on the DOM, which gets destroyed when the tabs are switched. Just use the lazy loading of the DOM so that it doesn't get destroyed and it should work fine.
Example from the docs: