angular-froala
angular-froala copied to clipboard
ngModel is not set to fr-view when initOnClick: true
If you have an editor with initOnClick: true and ngModel content, the content is not shown before clicking the editor.
This is a regression between 2.7.6 and 3.0.6, it was previously fixed as part of #164 but it seems like the fix got lost when rewriting for Froala 3.
Affects versions: 3.0.6
Steps to reproduce:
- Setup the editor using angular-froala with ngModel set to something and initOnClick: true
- Open the editor in the browser
Expected results: The ngModel value should be presented without clicking on the editor
Actual results: The ngModel value is not presented unless you click and initialize the editor