Ticket #1854: 1854.patch

File 1854.patch, 626 bytes (added by Martin Kou, 11 years ago)
  • editor/_source/commandclasses/fckindentcommands.js

     
    133133        _IndentBlock : function( range )
    134134        {
    135135                var iterator = new FCKDomRangeIterator( range ) ;
     136                iterator.EnforceRealBlocks = true ;
     137
    136138                range.Expand( 'block_contents' ) ;
    137139                var commonParents = FCKDomTools.GetCommonParents( range.StartContainer, range.EndContainer ) ;
    138140                var nearestParent = commonParents[commonParents.length - 1] ;
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy