Re: [editing-explainer] Can we use textnodes, and block/inline nodes as shadow roots for transparent IME handling? (#57)

> I'm not suggesting anything concrete. For instance, whether to update DOM or not during the process is I think still controversial.

Ok, it sounded to me from the above that @rniwa had found something of a solutions

> My concern was if we update, editors that are not aware of IME might not work well with IME. @rniwa and Ben were pretty confident that it was easy for editors to fix such issues, and updating DOM gives more flexibilities and features.

Updating IME during the process I think will create a lot of problems for collaborative editors where one tries to keep two DOM trees in sync, or also editors that save the current state of the DOM as HTML no matter whether IME is currently in process or not. The nicest from the editors side would be if the DOM wouldn't be updated at all until the character is fully there, and then it just creates an intent. The second nicest would be if it just inserted one element during the process, the way @rniwa outlined above. Such an element shouldn't be two difficult to filter out when saving/sharing the document. Nevertheless, there are still issues with split text nodes, etc. that would need to be resolved.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing-explainer/issues/57#issuecomment-106488519

Received on Thursday, 28 May 2015 16:59:04 UTC