Re: [editing-explainer] intents originating from components resp. scripts (#16)

Interesting idea. I think we should use intents (Device Independent Events) for direct user input only. A backend event should just direct call the functionality it needs. Say for instance there was a bold() function in a site's script. The site should listen for bold beforeInput events and call their bold() inside the event. If the backend decided to make text bold (say from another concurrent user), the site should just directly call bold(), not fire a bold beforeInput event. The goal is to simplify various types of user input in a single event, not to replace function().

Does that make sense?

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

Received on Wednesday, 31 December 2014 01:43:09 UTC