Ticket #6091: #6091.patch

File #6091.patch, 609 bytes (added by Martin, 14 years ago)

Patch

  • _source/core/dom/range.js

     
    15521552                        // Do nothing if the boundaries are in different block limits.
    15531553                        if ( !startBlockLimit.equals( endBlockLimit ) )
    15541554                                return null;
     1555                       
     1556                        // Do nothing if the boundaries are list item 'li'     
     1557                        if ( startBlock.getName().toLowwerCase() == 'li' && endBlock.getName().toLowwerCase() == 'li')
     1558                                return null;
    15551559
    15561560                        // Get or fix current blocks.
    15571561                        if ( blockTag != 'br' )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy