Ticket #1707: 1707_2.patch

File 1707_2.patch, 887 bytes (added by Martin Kou, 16 years ago)

Simplified patch for fixing #1707.

  • editor/_source/classes/fckdomrangeiterator.js

     
    110110                        {
    111111                                var nodeName = currentNode.nodeName.toLowerCase() ;
    112112
    113                                 if ( boundarySet[ nodeName ] )
     113                                if ( boundarySet[ nodeName ] && ( !FCKBrowserInfo.IsIE || currentNode.scopeName == 'HTML' ) )
    114114                                {
    115115                                        // <br> boundaries must be part of the range. It will
    116116                                        // happen only if ForceBrBreak.
     
    271271
    272272                                        removePreviousBr = !splitInfo.WasStartOfBlock ;
    273273                                        removeLastBr = !splitInfo.WasEndOfBlock ;
    274                                         FCKDebug.Output( 'removePreviousBr=' + removePreviousBr + ',removeLastBr=' + removeLastBr ) ;
    275274
    276275                                        // Insert the new block into the DOM.
    277276                                        range.InsertNode( block ) ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy