Преглед изворни кода

Internal: Minor refactoring.

Piotrek Koszuliński пре 7 година
родитељ
комит
cf27603509
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      packages/ckeditor5-paste-from-office/src/filters/list.js

+ 2 - 2
packages/ckeditor5-paste-from-office/src/filters/list.js

@@ -227,6 +227,6 @@ function isNewListNeeded( previousItem, currentItem ) {
 		return true;
 		return true;
 	}
 	}
 
 
-	// Even with the same id the list does not have to by continuous one (#43).
-	return !previousSibling.is( 'element', 'ul' ) && !previousSibling.is( 'element', 'ol' );
+	// Even with the same id the list does not have to be continuous (#43).
+	return !previousSibling.is( 'ul' ) && !previousSibling.is( 'ol' );
 }
 }