- From: Johannes Wilm <notifications@github.com>
- Date: Wed, 27 May 2015 22:49:31 -0700
- To: w3c/editing-explainer <editing-explainer@noreply.github.com>
Received on Thursday, 28 May 2015 05:50:02 UTC
I am looking a bit more into ShadowDOM. Would it not be possible, that when editing in a text node or elsewhere, at the start of the edit, to take the parentNode of the textnode that si to be edited, and one turns that into a shadow host. Then one copies exact copies of all the childNodes of the shadow host into the shadow root. One of these children will be the text node one wants to edit, so one goes ahead and edits that using IME or whatever. When the composition is done, the contents of the changed text node are compared with those of the old text node text node. Then the shadow root is destroyed and the insert intention event is triggered with the the text to be inserted as the argument? --- Reply to this email directly or view it on GitHub: https://github.com/w3c/editing-explainer/issues/57#issuecomment-106186854
Received on Thursday, 28 May 2015 05:50:02 UTC