We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc7b037 commit 62a3b8bCopy full SHA for 62a3b8b
core/editable.js
@@ -528,7 +528,16 @@
528
529
evt.data.preventDefault();
530
}
531
-
+ // BACKSPACE/DEL pressed at the start/end of table cell.
532
+ else if ( ( parent = path.contains( [ 'td', 'th', 'caption' ] ) ) &&
533
+ range.checkBoundaryOfElement( parent, rtl ? CKEDITOR.START : CKEDITOR.END ) ) {
534
+ next = parent[ rtl ? 'getPreviousSourceNode' : 'getNextSourceNode' ]( 1, CKEDITOR.NODE_ELEMENT );
535
+ if ( next && !next.isReadOnly() && range.root.contains( next ) ) {
536
+ range[ rtl ? 'moveToElementEditEnd' : 'moveToElementEditStart' ]( next );
537
+ range.select();
538
+ evt.data.preventDefault();
539
+ }
540
541
542
543
0 commit comments