Przeglądaj źródła

Show mention ui on deletion.

Maciej Gołaszewski 6 lat temu
rodzic
commit
5a74a4f553
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/ckeditor5-mention/src/mentionui.js

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

@@ -216,7 +216,7 @@ class TextWatcher {
 			const entry = changes[ 0 ];
 
 			// Typing is represented by only a single change.
-			if ( changes.length != 1 || entry.type !== 'insert' || entry.name != '$text' || entry.length != 1 ) {
+			if ( changes.length != 1 || entry.name != '$text' || entry.length != 1 ) {
 				return undefined;
 			}