Explorar el Código

Show mention ui on deletion.

Maciej Gołaszewski hace 6 años
padre
commit
5a74a4f553
Se han modificado 1 ficheros con 1 adiciones y 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;
 			}