Ticket #6263: 6263.patch
File 6263.patch, 776 bytes (added by , 12 years ago) |
---|
-
_source/plugins/tabletools/plugin.js
60 60 // So we have to take care to include a td we've entered only when we've 61 61 // walked into its children. 62 62 63 var parent = node.get Parent();64 if ( parent && cellNodeRegex.test( parent.getName() ) &&!parent.getCustomData( 'selected_cell' ) )63 var parent = node.getAscendant( 'td' ) || node.getAscendant( 'th' ); 64 if ( parent && !parent.getCustomData( 'selected_cell' ) ) 65 65 { 66 66 CKEDITOR.dom.element.setMarker( database, parent, 'selected_cell', true ); 67 67 retval.push( parent );