Prevent removing composing span

This commit is contained in:
M66B
2025-07-16 19:16:33 +02:00
parent 68371b3975
commit 2ef72f0ff6

View File

@@ -4203,6 +4203,8 @@ public class HtmlHelper {
continue;
}
if ((text.getSpanFlags(o) & Spanned.SPAN_COMPOSING) != 0) {
if ("android.view.inputmethod.ComposingText".equals(o.getClass().getName()))
continue;
text.removeSpan(o);
}
}