dist/hashedit.js
function() {

      var id, cssClass, src, target, link, alt, title;

      // populate link values
      if (hashedit.current.node !== null) {

        // get  attributes
        id = hashedit.current.node.getAttribute('id') || '';
        cssClass = hashedit.current.node.getAttribute('class') || '';
        src = hashedit.current.node.getAttribute('src') || '';
        alt = hashedit.current.node.getAttribute('alt') || '';
        title = hashedit.current.node.getAttribute('title') || '';


        // show the link dialog
        link = document.querySelector('#hashedit-image-settings-modal');
        link.setAttribute('visible', '');

        // sets start values
        document.getElementById('hashedit-image-id').value = id;
        document.getElementById('hashedit-image-cssclass').value = cssClass;
        document.getElementById('hashedit-image-src').value = src;
        document.getElementById('hashedit-image-alt').value = alt;
        document.getElementById('hashedit-image-title').value = title;

      }

    }
function() {

      var id, cssClass, src, target, link, alt, title;

      // populate link values
      if (hashedit.current.node !== null) {

        // get  attributes
        id = hashedit.current.node.getAttribute('id') || '';
        cssClass = hashedit.current.node.getAttribute('class') || '';
        src = hashedit.current.node.getAttribute('src') || '';
        alt = hashedit.current.node.getAttribute('alt') || '';
        title = hashedit.current.node.getAttribute('title') || '';


        // show the link dialog
        link = document.querySelector('#hashedit-image-settings-modal');
        link.setAttribute('visible', '');

        // sets start values
        document.getElementById('hashedit-image-id').value = id;
        document.getElementById('hashedit-image-cssclass').value = cssClass;
        document.getElementById('hashedit-image-src').value = src;
        document.getElementById('hashedit-image-alt').value = alt;
        document.getElementById('hashedit-image-title').value = title;

      }

    }
function ( ) { var id , cssClass , src , target , link , alt , title ; // populate link values if ( hashedit . current . node !== null ) { // get  attributes id = hashedit . current . node . getAttribute ( 'id' ) || '' ; cssClass = hashedit . current . node . getAttribute ( 'class' ) || '' ; src = hashedit . current . node . getAttribute ( 'src' ) || '' ; alt = hashedit . current . node . getAttribute ( 'alt' ) || '' ; title = hashedit . current . node . getAttribute ( 'title' ) || '' ; // show the link dialog link = document . querySelector ( '#hashedit-image-settings-modal' ) ; link . setAttribute ( 'visible' , '' ) ; // sets start values document . getElementById ( 'hashedit-image-id' ) . value = id ; document . getElementById ( 'hashedit-image-cssclass' ) . value = cssClass ; document . getElementById ( 'hashedit-image-src' ) . value = src ; document . getElementById ( 'hashedit-image-alt' ) . value = alt ; document . getElementById ( 'hashedit-image-title' ) . value = title ; } }
Sets up the images dialog
Sets up the images dialog