When my users make changes to the edit window, it seems that the backup data object is constantly being updated. However, when the user clicks on [SOURCE] and makes changes, it seems that there is no update.
I added the following to my code:
ck.on('mode', function () { $scope.$apply(function () { ngModel.$setViewValue(ck.getData()); }); });
This means that the user returns from [SOURCE] to the normal viewing mode, and when this happens, he updates my data.
However, when the user remains in the [SOURCE] view and clicks on my screen, he does not receive the latest changes. Is there a way to listen for changes in the [SOURCE] view and then update my background storage since those changes are made?
user1679941
source share