Explorar o código

Fix missing method reference.

Maciej Gołaszewski %!s(int64=7) %!d(string=hai) anos
pai
achega
73a1a125de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/ckeditor5-table/src/tableediting.js

+ 1 - 1
packages/ckeditor5-table/src/tableediting.js

@@ -319,7 +319,7 @@ function getTableCell( domEventData, editor ) {
 		return;
 	}
 
-	return getParentElement( 'tableCell', Position.createAt( modelElement ) );
+	return findAncestor( 'tableCell', Position.createAt( modelElement ) );
 }
 
 function getSelectionMode( domEventData, column, row ) {