I have one editor where I switch between content in one editor, and what I want to do when I set the new content, I would like to reset the undo possibility.
I have read on this site http://www.tinymce.com/wiki.php/api4:class.tinymce.UndoManager
That it's just to call tinymce.UndoManager.clear()
but I just get that the function is undefined.
clear()
function