+ var table = row.getAscendant( 'table' ),\r
+ rows = table.$.rows,\r
+ rowCount = rows.length;\r
+\r
+ // Where to put the cursor after rows been deleted?\r
+ // 1. Into next sibling row if any;\r
+ // 2. Into previous sibling row if any;\r
+ // 3. Into table's parent element if it's the very last row.\r
+ cursorPosition = new CKEDITOR.dom.element(\r
+ nextRowIndex < rowCount && table.$.rows[ nextRowIndex ] ||\r
+ previousRowIndex > 0 && table.$.rows[ previousRowIndex ] ||\r
+ table.$.parentNode );\r
+\r