Przeglądaj źródła

Update src/mentionediting.js

Co-Authored-By: jodator <jodator@gmail.com>
Szymon Cofalik 6 lat temu
rodzic
commit
caf742e03f
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

@@ -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;