Closed MrMartiniMo closed 8 years ago
The plunker does not seem to load angular-ui-tinymce correctly.
Do you mind fixing it up and I can take a look?
plunker updated. thanks @deeg
Thanks for updating, it indeed still seems like a bug.
I will take a look into fixing it. PRs are welcome if you already started looking at it.
It is somewhere in updateView
.
console.log('dirty', form.$dirty)
ngModel.$setViewValue(content);
console.log('dirty', form.$dirty)
Maybe we need to check if the content has changed or not. But updateView
is called twice, before and after ngModel's value has been changed.
It seems that the issue still exists when debounce
is set to false.
Still running into the form gets $dirty issue (#48, #107).
http://plnkr.co/edit/INfZpLpz2yrRvlHitw1N?p=preview