Explorar o código

Show mention ui on deletion.

Maciej Gołaszewski %!s(int64=6) %!d(string=hai) anos
pai
achega
5a74a4f553
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 			}