On Sun, Apr 26, 2015 at 4:32 PM, James M. Greene <james.m.gre...@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

Reply via email to