- From: Wenson Hsieh <notifications@github.com>
- Date: Sun, 30 Jun 2019 13:16:59 -0700
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 30 June 2019 20:17:21 UTC
> At the same time, it should be noted that there are 0 (zero) occurrences of the browser's `execCommand` in the CodeMirror source code [1]. 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). > I cannot tell for sure about Google Docs as the source code isn't open. So again - `document.execCommand` does not seem to be used a lot if at all by any of the editors we have found over the past few years. 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. -- 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-507064265
Received on Sunday, 30 June 2019 20:17:21 UTC