duckdb-wasm icon indicating copy to clipboard operation
duckdb-wasm copied to clipboard

[Shell] Paste does not work in Firefox

Open ttomasz opened this issue 2 years ago • 4 comments

I can copy text from the shell but trying to paste it does not work.

When using ctrl+v there is an error in the console: Failed to read from clipboard: "TypeError: navigator.clipboard.readText is not a function"

When clicking through context menu nothing happens and no error.

ttomasz avatar Sep 24 '22 22:09 ttomasz

On further reading it seems that it might be Firefox limitation: https://stackoverflow.com/questions/67440036/navigator-clipboard-readtext-is-not-working-in-firefox

ttomasz avatar Sep 24 '22 22:09 ttomasz

I have the same problem with Chrome but I can overcome it by copying text from a browser. I can't copy from any other application to shell.duckdb.org.

duckdb> I have the same problem with Chrome but I can overcome it by copying text from a browser. I can't copy from any other application to `shell.duckdb.org`
   ..>> .;

kimmolinna avatar Oct 24 '22 07:10 kimmolinna