Menu
feature request: button for copying an entire sentence
Sometimes for diverse reasons one would like to quickly copy a sentence. If there exists a button (like the one for play sound) to quickly copy the sentence, it would be very handy.
Especially, when one would like to copy a sentence from devices without mouse (like many phones or tablets) the copying task is not very easy.
this feature already exists. You have to activate it from the settings page
Yes, settings -> experimental options -> button for copying.
Thanks Guybrush, Thanuir. That was exactly what I was looking for.
Unfortunately, this button does not work with the default browser in iPad.
What's the version of your browser on the iPad?
Safari 13
We use a rather old library version for that feature. There's a demo with the latest version here: https://clipboardjs.com/#example-target
I've also setup a simple test page which simulates the way the code currently works on Tatoeba but uses the latest version: http://clipboardtest.forono.be/
Does any of these work with an iPad/iPhone? If not I'm afraid we need to look for an alternative.
> Does any of these work with an iPad/iPhone?
Both work on iPhone!
Copying and cutting text work in the boxes in the first link.
But in the second link http://clipboardtest.forono.be/ copying does not work (Safari/ iPad). No matter what I put in the text box, the only thing copied is "Sample text".
Sorry for the confusion but the copy button just copies "Sample text" to the clipboard. I've just added the text box to that page to provide a place for pasting the clipboard content.
Thanks to both you and PaulP for testing. It's clear now that we need to update the library code. :-)
The code for the clipboard feature was updated. Does it now work on iOS?
> The code for the clipboard feature was updated. Does it now work on iOS?
No. Doesn’t work here.
What iPhone version do you use?
8 plus. IOS 13.1.2 (the latest)
Interesting. Since cojiluc says it works on an iPad with Safari 13 I'm afraid I'm out of ideas at the moment. :-(
I may have a chance to get access to an iPhone in the next days for further investigation.
So sorry for the confusion. Now it works on Safari and on Firefox. I don’t know why it didn’t work an hour ago. Maybe I forgot to reload the page? Or I was still sleepy?? Thanks for the solution!
For me it works.