title: Angular and contenteditable
body: <p>I've searched the web but can't find a way to work with <code>contenteditable</code> events on Angular 6/7. Angular seems to have a messy solution with it but said feature doesn't seem to be carried over to recent versions.</p>
  <p>A use case would be is on a content editable <code>onChange</code> event, call a function:</p>
  <pre><code>&lt;div contententeditable=&quot;true&quot; [change]=&quot;onNameChange(if.there.is.such.a.thing)&quot;&gt;Type your name&lt;/div&gt;
  
  ...
  
  private name: string;
  
  onNameChange(name) {
     this.name = name;
  }
  </code></pre>
  <p>Any ideas on this? Thanks.</p>