Przeglądaj źródła

Update comment in partial mention post-fixer.

Maciej Gołaszewski 6 lat temu
rodzic
commit
763c0e82e8
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
 		}
 
-		// 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' ) ) {
 			const insertedNode = position.nodeAfter;