|
|
@@ -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;
|
|
|
}
|