Ticket #7518: 7518.patch

File 7518.patch, 753 bytes (added by Garry Yao, 9 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy