Sfoglia il codice sorgente

Changes: Removed unnecessary condition.

Szymon Cofalik 8 anni fa
parent
commit
4ca4485926
1 ha cambiato i file con 0 aggiunte e 8 eliminazioni
  1. 0 8
      packages/ckeditor5-list/src/converters.js

+ 0 - 8
packages/ckeditor5-list/src/converters.js

@@ -594,14 +594,6 @@ export function modelChangePostFixer( model, writer ) {
 	let applied = false;
 
 	for ( const entry of changes ) {
-		if ( entry.position && entry.position.root.rootName == '$graveyard' ) {
-			continue;
-		}
-
-		if ( entry.range && entry.range.root.rootName == '$graveyard' ) {
-			continue;
-		}
-
 		if ( entry.type == 'insert' && entry.name == 'listItem' ) {
 			_addListToFix( entry.position );
 		} else if ( entry.type == 'insert' && entry.name != 'listItem' ) {