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 can confirm same issue. Tested with Angular v1.4.11 on Chrome 60.0.3112.101, OSX El Capitan.
I'm using this workaround to deal with this issue is to use the onChange event handler and check if action == 'insert' and ng-model is empty, I copy the lines to the ng-model like this:
on HTML:
I've made a very basic plnkr to make this easy to test: http://plnkr.co/edit/PWh57DPNuks7rA5oI7r4
To reproduce, do:
Select editor contents with
ctrl-a
and copy it to clipboard withctrl-c
.Press
ctrl-v
to overwrite current selection. This will erase the ng-model contents, but in editor, everything looks all-right:Tested on Ubuntu with Firefox 55.0.2 and Chromium 60.0.3112.78
The text was updated successfully, but these errors were encountered: