 
 
 
-  appended: (node) =>
-    el = node
+  appended: (mutations) =>
+    el = mutations.target
     while el? && el.parentElement != @element()
       el = el.parentElement
 

      @fragment.appendChild(node)


Editor.Parsers = []
Editor.Extensions = []




  outdated: (observedMutations) =>
    @observer.hold =>
      mutations = new Mutations(observedMutations)
      switch mutations.status()
        when 'appended' then @appended(mutations)
        when 'updated' then @updated(mutations)
        when 'removed' then @removed(mutations)

    event = new CustomEvent('Editor:updated', {bubbles: true})
    @element().dispatchEvent(event)
