1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-08 19:18:54 +08:00

show message about ClipboardItem support #50

for Firefox
This commit is contained in:
lana-k
2021-08-20 22:30:48 +02:00
parent ead861b610
commit 88c62a1dfb
3 changed files with 7 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import Lib from 'plotly.js/src/lib'
import dataUrlToBlob from 'dataurl-to-blob'
async function _copyBlob(blob) {
async function _copyBlob (blob) {
await navigator.clipboard.write([
new ClipboardItem({
[blob.type]: blob