Ver código fonte

Fix missing method reference.

Maciej Gołaszewski 7 anos atrás
pai
commit
73a1a125de
1 arquivos alterados com 1 adições e 1 exclusões
  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 ) {