Procházet zdrojové kódy

Show mention ui on deletion.

Maciej Gołaszewski před 6 roky
rodič
revize
5a74a4f553
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
 			}