Kaynağa Gözat

Show mention ui on deletion.

Maciej Gołaszewski 6 yıl önce
ebeveyn
işleme
5a74a4f553
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;
 			}