Quill Editor : Check for change in content in Angular?
问题 I have implemented quill editor in Angular by creating new instance of quill and creating custom toolbar. this.quill = new Quill('#editor-container', { modules: { toolbar: '#toolbar-container' }, theme: 'snow' // or 'bubble' }); I have a "update" button which would call the update API. I need to check if the contents of the Quill editor has changed. I am aware of quill.on('text-change'): this.quill.on('text-change', function(delta, oldDelta, source) { if (source == 'api') { console.log('An