8
0
Piotrek Koszuliński 7 лет назад
Родитель
Сommit
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;
 	}
 
-	// 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' );
 }