     keyboard = @editor.getModule('keyboard')
     delete keyboard.bindings[9]    # 9 is the key code for tab; restore tabbing for accessibility
 
-    @editor.on 'text-change', (delta, source) => 
+    @editor.on 'text-change', (delta, old_contents, source) => 
       my_data = fetch @props.key
       my_data.html = getHTML()
 

  displayName: 'WysiwygEditor'

  render : ->

    my_data = fetch @props.key
    subdomain = fetch '/subdomain'
    wysiwyg_editor = fetch 'wysiwyg_editor'

.ql-editor {
  min-height: 120px;
  outline: none;
  white-space: pre;
}
.ql-clipboard {
  display: none;
