Ticket #6075: 6075.patch

File 6075.patch, 773 bytes (added by Sa'ar Zac Elias, 10 years ago)
  • _source/plugins/link/dialogs/link.js

     
    11401140                                element = null;
    11411141
    11421142                        // Fill in all the relevant fields if there's already one link selected.
    1143                         if ( ( element = plugin.getSelectedLink( editor ) ) && element.hasAttribute( 'href' ) )
     1143                        if ( ( element = plugin.getSelectedLink( editor ) ) && ( element.hasAttribute( 'href' ) || element.hasAttribute( 'cke_saved_href' ) ) )
    11441144                                selection.selectElement( element );
    11451145                        else if ( ( element = selection.getSelectedElement() ) && element.is( 'img' )
    11461146                                        && element.getAttribute( '_cke_real_element_type' )
© 2003 – 2020 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy