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

Reading through the discussion that CKeditor has had about this that is linked to above, it sounds as if the trick for JavaScript-solutions is simply to have a hard coded list of what unicode characters correspond to base characters and which ones correspond to code points.

> However, it would be good to make life easy for the JavaScript developer (and sane for the end users) by and providing data about what the browser would consider "one character" in that context, so that that can be used a default.

I agree. However given that we have the target ranges, and that this is an issue only when doing a simple backward/forward deletion, I guess the target range for a forward simple deletion should point to the base character with all its codepoints, right? Then that should take away the complexity of that in the JS.

---
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-236476662

Received on Monday, 1 August 2016 02:34:45 UTC