     range.collapse(false)
     @.setRange(range)
 
-  #get the element that wraps Caret position
+  #get the element that wraps Caret position while is inside section
   getNode: ()->
     node = undefined
     root = $(@el).find(".section-inner")[0]

    @setRangeAt( $(element).find('.imageCaption')[0] )

  handleBlur: (ev)=>
    #utils.log(ev)
    #hide menu only if is not in use
    setTimeout ()=>
      @editor_menu.hide() unless selected_menu
    , 200

    #@tooltip_view.hide()
    false

  handleMouseUp: (ev)=>

    (if root && root.contains(node) then node else null)

  displayMenu: (sel)->
    setTimeout ()=>
      @editor_menu.render()
      pos = utils.getSelectionDimensions()
      @relocateMenu(pos)
      @editor_menu.show()
    , 10

  #get text of selected and displays menu
  handleTextSelection: (anchor_node)->
