8
0
Просмотр исходного кода

Update comment in partial mention post-fixer.

Maciej Gołaszewski 6 лет назад
Родитель
Сommit
763c0e82e8
1 измененных файлов с 1 добавлено и 1 удалено
  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;