code: function (element, type, args, isRtl, locale) {
              return attachElement(element, type, args, isRtl, locale);
          }
docs: Handle Structured text correct display for a given HTML element.
  @param element - the element  : should be of type div contenteditable=true
  @param type - could be one of filepath, url, email
  @param args - pass additional arguments to the handler. generally null.
  @param isRtl - indicates if the GUI is mirrored
  @param locale - the browser locale