Explorar o código

Fixed comment position.

Maciej Bukowski %!s(int64=8) %!d(string=hai) anos
pai
achega
ec410f49ae
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/ckeditor5-engine/src/controller/insertcontent.js

+ 2 - 2
packages/ckeditor5-engine/src/controller/insertcontent.js

@@ -45,14 +45,14 @@ export default function insertContent( dataController, content, selection, batch
 	let nodesToInsert;
 
 	if ( content.is( 'documentFragment' ) ) {
-		// The set of children being inserted is the only set in this context
-		// so it's the first and last (it's a hack ;)).
 		nodesToInsert = content.getChildren();
 	} else {
 		nodesToInsert = [ content ];
 	}
 
 	insertion.handleNodes( nodesToInsert, {
+		// The set of children being inserted is the only set in this context
+		// so it's the first and last (it's a hack ;)).
 		isFirst: true,
 		isLast: true
 	} );