X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Ftabletools%2Fplugin.js;fp=_source%2Fplugins%2Ftabletools%2Fplugin.js;h=3a6511d78b700767904f8823e3406c20b951a7a4;hb=e73319a12b56100b29ef456fd74114fe5519e01c;hp=7b52599db0d3d9657fccb97cb82272fcd689c7fb;hpb=f0610347140239143439a511ee2bd48cb784f470;p=ckeditor.git diff --git a/_source/plugins/tabletools/plugin.js b/_source/plugins/tabletools/plugin.js index 7b52599..3a6511d 100644 --- a/_source/plugins/tabletools/plugin.js +++ b/_source/plugins/tabletools/plugin.js @@ -135,7 +135,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license width = map[0].length; var newRow = doc.createElement( 'tr' ); - for ( var i = 0; i < width; i++ ) + for ( var i = 0; cloneRow[ i ] && i < width; i++ ) { var cell; // Check whether there's a spanning row here, do not break it.