Explorar el Código

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

Szymon Cofalik hace 6 años
padre
commit
d277c02c42
Se han modificado 1 ficheros con 1 adiciones y 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 );
 }