Ticket #6083: 6083_3.patch

File 6083_3.patch, 684 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/selection/plugin.js

     
    133133                                                                // point.
    134134                                                                if ( savedRange )
    135135                                                                {
    136                                                                         if ( restoreEnabled )
     136                                                                        // Range restored here might invalidate the DOM structure thus break up
     137                                                                        // the locked selection, give it up. (#6083)
     138                                                                        var lockedSelection = doc.getCustomData( 'cke_locked_selection' );
     139                                                                        if ( restoreEnabled && !lockedSelection )
    137140                                                                        {
    138141                                                                                // Well not break because of this.
    139142                                                                                try
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy