JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.2
[ckeditor.git] / _source / plugins / tabletools / plugin.js
index 7b52599..3a6511d 100644 (file)
@@ -135,7 +135,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                width = map[0].length;\r
 \r
                var newRow = doc.createElement( 'tr' );\r
-               for ( var i = 0; i < width; i++ )\r
+               for ( var i = 0; cloneRow[ i ] && i < width; i++ )\r
                {\r
                        var cell;\r
                        // Check whether there's a spanning row here, do not break it.\r