code: function(element) {
  
        var x, link, image, text, fields;
  
        // set current element and node
        hashedit.current.element = element;
        hashedit.current.node = element;
  
        // if the current element is not a [hashedit-element], find the parent that matches
        if(hashedit.current.element.hasAttribute('hashedit-element') === false) {
          hashedit.current.element = hashedit.findParentBySelector(element, '[hashedit-element]');
        }
  
        // hide #hashedit-image
        image = document.querySelector('#hashedit-image-settings-modal');
        image.removeAttribute('visible');
  
        // hide #hashedit-link
        link = document.querySelector('#hashedit-link-settings-modal');
        link.removeAttribute('visible');
  
        // get #hashedit-config
        text = document.querySelector('#hashedit-text-settings');
        text.setAttribute('visible', '');
  
        // clear form fields
        fields = document.querySelectorAll('[data-model]');
  
        for (x = 0; x < fields.length; x += 1) {
          if (fields[x].nodeType == 'SELECT') {
            fields[x].selectedIndex = 0;
          } else {
            fields[x].value = '';
          }
        }
  
        hashedit.bind();
  
      }
docs: Shows the text options