 Tooltip  = require('./tooltip')
 _        = Quill.require('lodash')
 dom      = Quill.require('dom')
-anchorEl = document.createElement('a')
 
 class LinkTooltip extends Tooltip
   @DEFAULTS:

      )
    else
      @link.href = url
      text = if url.length > @options.maxLength then url.slice(0, @options.maxLength) + '...' else url
      dom(@link).text(text)
    dom(@container).toggleClass('editing', edit)


  _normalizeURL: (url) ->
    url = 'http://' + url unless /^(https?:\/\/|mailto:)/.test(url)
    return url

  _suggestURL: (range) ->
    text = @quill.getText(range)
