Ticket #7811: 7811.patch

File 7811.patch, 753 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/tabletools/plugin.js

     
    215215                        // 1. Into next sibling row if any;
    216216                        // 2. Into previous sibling row if any;
    217217                        // 3. Into table's parent element if it's the very last row.
    218                         var cursorPosition =  new CKEDITOR.dom.element( rows[ startRowIndex ] || rows[ startRowIndex - 1 ] || table.$.parentNode );
     218                        var cursorPosition =  new CKEDITOR.dom.element( rows[ endRowIndex + 1 ] || rows[ startRowIndex - 1 ] || table.$.parentNode );
    219219
    220220                        for ( i = rowsToDelete.length ; i >= 0 ; i-- )
    221221                                deleteRows( rowsToDelete[ i ] );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy