Re: [w3c/editing] `document.execCommand()` should do nothing when the document is invisible (#193)

> Ah, I was referring more to the fact that many editors out there use hidden contenteditable areas to override and customize editing behavior (citing CodeMirror and Google Docs as examples).

That's also how I understood your comment. I just wanted to make sure that no-one read this thread and got the impression that `execCommand` is a central part of the leading web apps in 2019.

> I think Google Docs would surely use `execCommand` to implement their in-page Edit > Copy and Edit > Paste menu items. The alternative (`navigator.clipboard` API) isn’t currently implemented in Safari, but the Copy button still works.

Clipboard actions are known to have required `execCommand`, and yes, I think you are right about that. But I would be surprised if they use it for any of the other things covered by `execCommand`.

-- 
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/193#issuecomment-507064745

Received on Sunday, 30 June 2019 20:23:52 UTC