     $(@el).find(".is-selected").removeClass("is-mediaFocused is-selected")
     $(element).addClass("is-selected")
 
+    ###
     if $(element).prop("tagName").toLowerCase() is "figure"
       $(element).addClass("is-mediaFocused")
+      n = utils.getNode()
+      utils.log n
+
+      n = utils.getNode()
+      utils.log n
+      if _.isUndefined n
+        $(element).addClass("is-mediaFocused")
+      else if $(n).prop("tagName").toLowerCase() is "figcaption"
+        $(element).removeClass("is-mediaFocused")
+    ###
 
     $(element).find(".defaultValue").remove()
     #set reached top if element is first!

    $(".graf--first").html(@title_placeholder)
    $(".graf--last").html(@body_placeholder)

  handleGrafFigureSelect: (ev)->
    element = ev.currentTarget
    @markAsSelected( element )
    @setRangeAt( $(element).find('.imageCaption')[0] )

  handleBlur: (ev)=>
    #hide menu only if is not in use

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

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