mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Remove text in Browser Support section about Safari support
This commit is contained in:
parent
da199ab9ac
commit
2714c402ec
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user