Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 9d9e468

Browse files
committed
bug(change event): Update model on all changes including long backspace, copy, and paste
Closes #160, Closes #167
1 parent 9158209 commit 9d9e468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tinymce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ angular.module('ui.tinymce', [])
7474
});
7575

7676
// Update model on change
77-
ed.on('change', function() {
77+
ed.on('change NodeChange', function() {
7878
ed.save();
7979
updateView(ed);
8080
});

0 commit comments

Comments
 (0)