Re: [clipboard] Feature detect Clipboard API support?

On Sun, Apr 26, 2015 at 4:32 PM, James M. Greene <james.m.greene@gmail.com>
wrote:

> They used `Document#queryCommandSupported` and
> `Document#queryCommandEnabled` for feature detection -- the latter
> requiring that there is an active, expanded Selection/Range in the Document
> in order to get a positive (`true`) indicator].


Maybe it's as simple as that..? Test:
http://jsfiddle.net/670s9usk/ :)
-Hallvord

Received on Sunday, 26 April 2015 20:09:17 UTC