From d5613d35cde1fb20ce82f2f9a58fb6ee54f386be Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 7 Aug 2026 16:53:16 -0400 Subject: [PATCH] Dispatch textformatupdate with empty format list when deactivating EditContext. --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index 3dd28a0..7856766 100644 --- a/index.html +++ b/index.html @@ -966,6 +966,10 @@

Deactivate an EditContext

  • If |editContext|'s [=is composing=] is true, then:
    1. Set |editContext|'s [=is composing=] to false.
    2. +
    3. + [=Fire an event=] named "textformatupdate" at |editContext| using {{TextFormatUpdateEvent}} with + the {{TextFormatUpdateEvent}}'s [=text format list=] initialized to an empty list. +
    4. [=Fire an event=] named compositionend