- From: Masayuki Nakano <notifications@github.com>
- Date: Thu, 11 Jan 2024 18:34:10 -0800
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 12 January 2024 02:34:15 UTC
Talking as a maintainer of editor of Firefox/Gecko, it's not impossible to implement, but it needs some big changes. `beforeinput` event is dispatched at start of handling insertion/deletion. Therefore, the builtin editor still does not have the result. So, doing it, the builtin editor needs to handle the command/operation and dispatch `beforeinput` immediately before touching the editor value. So, the dispatcher cannot be centralized without big changes. (FYI: `getTargetRanges` for `contenteditable` causes duplicating the deletion code to compute the deleting range, therefore, the performance is not good and increased the maintenance cost.) Cc: @johanneswilm @dandclark -- Reply to this email directly or view it on GitHub: https://github.com/w3c/uievents/issues/289#issuecomment-1888338896 You are receiving this because you are subscribed to this thread. Message ID: <w3c/uievents/issues/289/1888338896@github.com>
Received on Friday, 12 January 2024 02:34:15 UTC