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

Update src/mentionediting.js

Co-Authored-By: jodator <jodator@gmail.com>
Szymon Cofalik 6 лет назад
Родитель
Сommit
caf742e03f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-mention/src/mentionediting.js

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

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