angular-summernote icon indicating copy to clipboard operation
angular-summernote copied to clipboard

Model value gets overridden in IE11

Open mariusklocke opened this issue 10 years ago • 1 comments

Hello,

i have a strange issue in IE11. I am loading my model data via $http, but summernote overrides this model data sometimes. The HTTP Request is triggered on controller initialization.

I placed a $scope.$watch on my model data. It changes three times in IE11.

  1. Model is set to undefined (probably due to controller initialization)
  2. Model is set to "<br>" (only in IE11)
  3. Model is set to the value provided by HTTP Response

Step 2 only happens in Internet Explorer and sometimes Step 3 happens before Step 2. Thats why my model data gets overridden.

Any ideas?

mariusklocke avatar Jul 21 '15 12:07 mariusklocke

It's weird issues. Angular-summernote use sumernote's update event to change ngModel. So, I have to check the behavior in IE 11.

outsideris avatar Jul 22 '15 02:07 outsideris