We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't know why this doesn't affect 0.7.2, but it doesn't. A-S code inside this.active:
var updateNgModel = function() { var newValue = element.summernote('code'); if (element.summernote('isEmpty')) { newValue = ''; } if (ngModel && ngModel.$viewValue !== newValue) { $timeout(function() { //<<<<<<<<<Timeout 2 ngModel.$setViewValue(newValue); }, 0); } }; callbacks.onChange = function(contents) { $timeout(function() { //<<<<<<<Timeout1 if (element.summernote('isEmpty')) { contents = ''; } updateNgModel(); }, 0); $scope.change({contents:contents, editable: $scope.editable}); };
In this order (this is on init):
Expected: Value2 Got: Value1
Fix: Would be for Timeout2 to check to see if 'updateNgModel' has been called again since it was created, and if so, do nothing.
The text was updated successfully, but these errors were encountered:
Could you check it in v0.8?
Sorry, something went wrong.
No branches or pull requests
I don't know why this doesn't affect 0.7.2, but it doesn't.
A-S code inside this.active:
In this order (this is on init):
Expected: Value2
Got: Value1
Fix: Would be for Timeout2 to check to see if 'updateNgModel' has been called again since it was created, and if so, do nothing.
The text was updated successfully, but these errors were encountered: