Remove text in Browser Support section about Safari support

This commit is contained in:
Christopher Banh 2016-04-26 21:42:31 -07:00
parent da199ab9ac
commit 2714c402ec
No known key found for this signature in database
GPG Key ID: CB71FCE70026D6F0

View File

@ -203,12 +203,6 @@ clipboard.destroy();</code></pre>
<p>Safari 9.1+</p>
</li>
</ul>
<p>Although copy/cut operations with <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand">execCommand</a> aren't supported on Safari yet (including mobile), it gracefully degrades because <a href="https://developer.mozilla.org/en-US/docs/Web/API/Selection">Selection</a> is supported.</p>
<p>That means you can show a tooltip saying <code>Copied!</code> when <code>success</code> event is called and <code>Press Ctrl+C to copy</code> when <code>error</code> event is called because the text is already selected.</p>
<p>For a live demonstration, open this site on Safari.</p>
</main>
<footer class="footer gradient text-center">