---
:'( - So much pain erased in a single stroke!
---
:'( - So much pain erased in a single stroke!
The basic issue we were encountering is that when selecting text via force touching and then dragging the selection, the text selection object was empty. (Though you can still hit Copy in the Safari UI.)
There wasn't any issue when selecting text via regular press or long press.
https://bugs.webkit.org/show_bug.cgi?id=66630
https://bugs.chromium.org/p/chromium/issues/detail?id=346613
I've been dealing with this stuff for the last week.
Edit: added webkit reference
https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEv...
Clipboard events are already supported by safari (which the page you've linked to notes) and they've got nothing to do with execCommand, they are about hooking and reacting to user-triggered clipboard operations e.g. the user pastes (via contextual menu or shortcut), the software can know about it and alter the content before it's pasted.
execCommand is about programmatically triggering clipboard events e.g. the user clicks a button in the page and the application translates that to a copy or paste event.
Did you consider taking your own advice?
> leaving behind something that lifts up the conversation?
What are you talking about? There is no conversation, and what this subthread needs is not uplifting is euthanising.
https://developer.mozilla.org/en-US/docs/Web/API/Document/ex...
Most websites irritate their users, actually.