Explorar el Código

Update comment in partial mention post-fixer.

Maciej Gołaszewski hace 6 años
padre
commit
763c0e82e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-mention/src/mentionediting.js

+ 1 - 1
packages/ckeditor5-mention/src/mentionediting.js

@@ -162,7 +162,7 @@ function removePartialMentionPostFixer( writer, doc, schema ) {
 			wasChanged = checkAndFix( position.nodeAfter, writer ) || wasChanged;
 			wasChanged = checkAndFix( position.nodeAfter, writer ) || wasChanged;
 		}
 		}
 
 
-		// Check text nodes in inserted elements (might occur when splitting paragraph or pasting content).
+		// Check text nodes in inserted elements (might occur when splitting paragraph or pasting content inside text with mention).
 		if ( change.name != '$text' && change.type == 'insert' && schema.checkChild( change.name, '$text' ) ) {
 		if ( change.name != '$text' && change.type == 'insert' && schema.checkChild( change.name, '$text' ) ) {
 			const insertedNode = position.nodeAfter;
 			const insertedNode = position.nodeAfter;