Explorar o código

Fix: Removed table cell view element will be unbound in the mapper.

Szymon Cofalik %!s(int64=6) %!d(string=hai) anos
pai
achega
d277c02c42
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/ckeditor5-table/src/converters/downcast.js

+ 1 - 0
packages/ckeditor5-table/src/converters/downcast.js

@@ -345,6 +345,7 @@ function renameViewTableCell( tableCell, desiredCellElementName, conversionApi,
 		renamedCell = viewWriter.rename( desiredCellElementName, viewCell );
 	}
 
+	conversionApi.mapper.unbindViewElement( viewCell );
 	conversionApi.mapper.bindElements( tableCell, renamedCell );
 }