8
0
فهرست منبع

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;
 	}
 
-	// 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' );
 }