Re: [w3c/editing] Should we expose physical direction in Deletion commands? (for the case of RTL) (#133)

> I propose:
>  - Delete forward = delete grapheme
>  - Delete backward = delete grapheme or code point depends on language and platform

Ok, but remember that the point with the beforeinput event is that the JavaScript can implement all the DOM changes itself and not rely on the browser for any of it. That's the most important point of the beforeinput event for many editors. So if delete backward is to mean code point deletion, but the JavaScript cannot know that this was meant and additionally doesn't have a simply way to remove a codepoint, then this will be broken for all the scripts that require this. So that doesn't seem like a good idea.

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

Received on Monday, 1 August 2016 01:55:37 UTC