 
     #hides tooltip if anchor_node text is empty
     if anchor_node
-      @tooltip_view.hide() unless _.isEmpty($(anchor_node).text())
+      unless _.isEmpty($(anchor_node).text())
+        @tooltip_view.hide()
+        $(anchor_node).removeClass("graf--empty")
 
   handleKeyUp: (e , node)->
     utils.log "KEYUP"

    if _.contains([37,38,39,40], e.which)
      @handleArrow(e)
      #return false

    #remove graf--empty if anchor_node text is empty
    if anchor_node
      $(anchor_node).removeClass("graf--empty") unless _.isEmpty($(anchor_node).text())

  #TODO: Separate in little functions
  handleLineBreakWith: (element_type, from_element)->

    "keydown" : "handleKeyDown"
    "keyup"   : "handleKeyUp"
    "paste"   : "handlePaste"
    "click .graf--figure img" : "handleGrafFigureSelectImg"
    "click figcaption"   : "handleGrafFigureSelectCaption"
    "dblclick" : "handleDblclick"
    "dragstart": "handleDrag"
    "drop"    : "handleDrag"
