Explorar el Código

Fix missing method reference.

Maciej Gołaszewski hace 7 años
padre
commit
73a1a125de
Se han modificado 1 ficheros con 1 adiciones y 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 ) {