Re: [editing-explainer] What intentions do we need? (#52)

To my understanding, the spec [1] implies that beforecut and beforepaste events may trigger even if the paste action is not performed by the user. 

>Typically, the before* events fire before a menu is shown to the user, or when the user presses a combination of shortcut keys that would trigger a clipboard command. The user agent is explicitly allowed to fire these events at any time. If the UI has visible buttons that trigger clipboard actions, the implementation may want to fire these events at regular intervals to keep the state of these buttons updated.

Instead, we need an intention that is triggered only when the user actually performs the cut or paste action.

[1] http://www.w3.org/TR/clipboard-apis/#events

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

Received on Thursday, 28 May 2015 06:13:48 UTC