               id: idBase + "close" + index
               label: label
               text: "/" + name
-              jsTitle: "javascript:void('" + name + "')"
+              jsTitle: "javascript:void('edit-" + name + "')"
               index: index
               keyDownFn: onKeyDownHandler
-              clickFn: onClickHanlder
+              clickFn: onClickEditHandler
             )
             html.push closeitem
 

        realIndex = elementIndex.substr(elementIndex.indexOf('-') + 1)
        insertType = elementIndex.substr(0, elementIndex.indexOf('-'))
        element = editor._.txtElementsPath.list[realIndex]
        console.log "addElementHandler", element, elementIndex, realIndex, insertType, ev
        if !element
          return
        editor.focus()

        element = editor.ui.space(spaceName)
        element and editor.focusManager.add(element, 1)

      
      onKeyDownHandler = CKEDITOR.tools.addFunction((elementIndex, ev) ->
        idBase = editor._.txtElementsPath.idBase
        element = undefined
