You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
I'm having an issue where holding down the backspace key removes all the characters from the editor, but it does not update the angular model.
From what I can tell this code is not firing:
updateView = function(editor) {
var content = editor.getContent({format: options.format}).trim();
content = $sce.trustAsHtml(content);
ngModel.$setViewValue(content);
if (!$rootScope.$$phase) {
scope.$digest();
}
};
Steps to reproduce:
Enter text into the editor
Put the cursor at the end of the text and hold the backspace key down until all text is removed from the tinyMCE editor.
Even though the editor is blank, text is still displayed from the model.
What I'm expecting is the data entered to be deleted from the model. However, the editor doesn't have any text but the ng-model is still displaying text.
I'm having an issue where holding down the backspace key removes all the characters from the editor, but it does not update the angular model.
From what I can tell this code is not firing:
Steps to reproduce:
What I'm expecting is the data entered to be deleted from the model. However, the editor doesn't have any text but the ng-model is still displaying text.
I've created a plunker where this issue is reproducible.
https://plnkr.co/edit/l2TivBCPhWrZbtFRmLJ9
The text was updated successfully, but these errors were encountered: