Re: [w3c/editing] Ability to rollback changes after IME, so that editors that manage their own incremental rendering can assume the same DOM as before the IME (Issue #510)

masayuki-nakano left a comment (w3c/editing#510)

I think the last `beforeinput` event for a composition could be cancelable and canceling it stop inserting the text (i.e., deleting the last composition string). On the other hand, if the composition starts with non-collapsed selection ranges, browsers maybe need to restore the deleted content at start of composition, but it may hard especially when the DOM has already been changed by the web app...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/510#issuecomment-4705083380
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/510/4705083380@github.com>

Received on Monday, 15 June 2026 06:15:55 UTC