- From: Johannes Wilm <notifications@github.com>
- Date: Sun, 31 Jul 2016 19:14:55 -0700
- To: w3c/editing <editing@noreply.github.com>
Received on Monday, 1 August 2016 02:15:24 UTC
Trying this out, it doesn't seem straightforward how to handle this in JavaScript. ``` > let a = "<b>\u{65}\u{301}</b>" <b>é</b> > a.length 8 ``` What if the caret is here and the user asks for forward delete: ``` <b>|\u{65}\u{301}</b> ``` Or what if the caret is here, and the user asks for backward delete: ``` <b>\u{65}\u{301}|</b> ``` Without some knowledge of what those unicode characters correspond to, it seems difficult for the JavaScript to delete the right part of the DOM, right? --- 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-236474767
Received on Monday, 1 August 2016 02:15:24 UTC