       else if serializedMention = $(node).data('serializedMention')
         textNodes.push serializedMention
     textNodes.join('')
+
+  deserializeInput: ->
+    # TODO implement
+    @$input.val()
 
   _ensureInput: (element)->
     @$originalInput = $(element)

    @$originalInput.hide().appendTo(@$wrap)
    @$input.appendTo(@$wrap)
    @$editable.appendTo(@$wrap)

  _setupEvents: ->
    @$editable.bind 'keypress', @handleInput

    @_current = null

  populateInput: =>
    console.log "Populate input with '#{@serializeEditable()}'"
    @$input?.val(@serializeEditable())

  serializeEditable: ->
    textNodes = []
    for node in @$editable[0].childNodes
      if node.nodeType == 3 # nodeType 3 is a text node
