[w3c/editing] Behavior of queryCommandEnabled (#161)

_From @zetafunction on May 19, 2015 16:39_

Right now, queryCommandEnabled("paste") in Chrome only returns true if we're in an editable area (and https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#enabled specifically mentions that cut and paste are not always enabled, though it doesn't really define when that would be).

However, executing a paste via the top-level menu or the key combination still fires a paste event at the page.

It seems like queryCommandEnabled("paste") should just match when we allow execCommand("paste") / Ctrl+V / etc?


_Copied from original issue: w3c/clipboard-apis#7_

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/161

Received on Thursday, 16 February 2017 23:49:18 UTC