My main goal is to get editor content when it changes and update a live preview. For this I need to add an event listener to the editor. BTW, I have two editor in the same page and the page is loaded via ajax.
Now back to my problem. I can't get to the instance of the tinyMCE editors. I can
console.log() them but get empty result when I try to stringify them.
Below is the result of
So, whenever I try to access editors using
tinymce.EditorManager.get('contentleft') in all these cases I get
Working more then couple days on this. Would appreciate a proper direction soon.