Parcourir la source

Docs: Clarified changes.

Szymon Cofalik il y a 6 ans
Parent
commit
a5a4545770

+ 1 - 0
packages/ckeditor5-table/src/converters/tablecell-post-fixer.js

@@ -126,6 +126,7 @@ function getElementsToCheck( view ) {
 // - span: for single paragraph with no attributes.
 // - p   : in other cases.
 function ensureProperElementName( currentViewElement, mapper, writer ) {
+	// This situation may happen if a view element was changed and removed at the same time. In this case the view element is already unbound so the post-fixer would crash.
 	if ( !currentViewElement.root.is( 'rootElement' ) ) {
 		return false;
 	}