Przeglądaj źródła

Update src/model/utils/selection-post-fixer.js

Co-Authored-By: Piotrek Koszuliński <pkoszulinski@gmail.com>
Maciej 6 lat temu
rodzic
commit
7bd3c38805

+ 1 - 1
packages/ckeditor5-engine/src/model/utils/selection-post-fixer.js

@@ -256,7 +256,7 @@ function checkSelectionOnNonLimitElements( start, end, schema ) {
 function mergeIntersectingRanges( ranges ) {
 	const nonIntersectingRanges = [];
 
-	// First range will be always de-intersected.
+	// First range will always be fine.
 	nonIntersectingRanges.push( ranges.shift() );
 
 	for ( const range of ranges ) {