code: function (url, name, elm) {
          var self = this, settings = self.settings;
  
          // Use callback instead
          if (settings.urlconverter_callback) {
            return self.execCallback('urlconverter_callback', url, elm, true, name);
          }
  
          // Don't convert link href since thats the CSS files that gets loaded into the editor also skip local file URLs
          if (!settings.convert_urls || (elm && elm.nodeName == 'LINK') || url.indexOf('file:') === 0 || url.length === 0) {
            return url;
          }
  
          // Convert to relative
          if (settings.relative_urls) {
            return self.documentBaseURI.toRelative(url);
          }
  
          // Convert to absolute
          url = self.documentBaseURI.toAbsolute(url, settings.remove_script_host);
  
          return url;
        }
docs: URL converter function this gets executed each time a user adds an img, a or
  any other element that has a URL in it. This will be called both by the DOM and HTML
  manipulation functions.
  
  @method convertURL
  @param {string} url URL to convert.
  @param {string} name Attribute name src, href etc.
  @param {string/HTMLElement} elm Tag name or HTML DOM element depending on HTML or DOM insert.
  @return {string} Converted URL string.