[w3c/editing] getTargetRanges of `beforeinput` on EditContext editing host (Issue #449)

Should it always return empty array? In my understanding, browsers do not manage selection range as deleting range in EditContext editing host. Therefore, I think that the range should be considered by the web apps themselves.

On the other hand, [this example](https://w3c.github.io/edit-context/#example-how-beforeinput-can-be-used-to-catch-insertreplacementtext-to-apply-spelling-changes) uses the result of `getTargetRanges`...

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

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

Received on Friday, 13 October 2023 05:43:26 UTC