AngularJS - ng-model fails on contenteditable <span>
问题 I'm learning AngularJS. I've come across something I can't explain, nor can I find any explanation for (or solution). I have a simple AngularJS app and I am attempting to bind a <span contenteditable="true"> to a value, but it doesn't work. EG: <!-- Works as expected --> <input data-ng-model="chunk.value"></input> <!-- Shows value, but doesn't bind - changes not reflected in model --> <span contenteditable="true">{{chunk.value}}</span> <!-- This is empty --> <span contenteditable="true" data