Ticket #3345: 3345.patch

File 3345.patch, 617 bytes (added by Garry Yao, 15 years ago)
  • _source/plugins/link/dialogs/link.js

     
    10001000                                ranges = selection.getRanges(),
    10011001                                element = null,
    10021002                                me = this;
    1003 
    10041003                        // Fill in all the relevant fields if there's already one link selected.
    10051004                        if ( ranges.length == 1 )
    10061005                        {
    1007                                 ranges[0].enlarge( CKEDITOR.ENLARGE_ELEMENT );
    10081006
    10091007                                var rangeRoot = ranges[0].getCommonAncestor( true );
    10101008                                element = rangeRoot.getAscendant( 'a', true );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy