diff --git a/src/tinymce.js b/src/tinymce.js index c0291af..2034b0e 100644 --- a/src/tinymce.js +++ b/src/tinymce.js @@ -168,6 +168,7 @@ angular.module('ui.tinymce', []) tinyInstance.getDoc() ) { tinyInstance.setContent(viewValue); + tinyInstance.undoManager.clear(); // Triggering change event due to TinyMCE not firing event & // becoming out of sync for change callbacks tinyInstance.fire('change');