menu
Tatoeba
language
Register Log in
language English
menu
Tatoeba

chevron_right Register

chevron_right Log in

Browse

chevron_right Show random sentence

chevron_right Browse by language

chevron_right Browse by list

chevron_right Browse by tag

chevron_right Browse audio

Community

chevron_right Wall

chevron_right List of all members

chevron_right Languages of members

chevron_right Native speakers

search
clear
swap_horiz
search
cojiluc cojiluc October 18, 2019, edited October 18, 2019 October 18, 2019 at 12:56:52 PM UTC, edited October 18, 2019 at 12:57:48 PM UTC link Permalink

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.

{{vm.hiddenReplies[33268] ? 'expand_more' : 'expand_less'}} hide replies show replies
Guybrush88 Guybrush88 October 18, 2019 October 18, 2019 at 1:51:40 PM UTC link Permalink

this feature already exists. You have to activate it from the settings page

{{vm.hiddenReplies[33269] ? 'expand_more' : 'expand_less'}} hide replies show replies
Thanuir Thanuir October 18, 2019 October 18, 2019 at 2:21:28 PM UTC link Permalink

Yes, settings -> experimental options -> button for copying.

{{vm.hiddenReplies[33270] ? 'expand_more' : 'expand_less'}} hide replies show replies
cojiluc cojiluc October 18, 2019 October 18, 2019 at 2:33:32 PM UTC link Permalink

Thanks Guybrush, Thanuir. That was exactly what I was looking for.

cojiluc cojiluc October 31, 2019 October 31, 2019 at 8:06:47 PM UTC link Permalink

Unfortunately, this button does not work with the default browser in iPad.

{{vm.hiddenReplies[33394] ? 'expand_more' : 'expand_less'}} hide replies show replies
rumpelstilzchen rumpelstilzchen November 1, 2019 November 1, 2019 at 6:03:44 AM UTC link Permalink

What's the version of your browser on the iPad?

{{vm.hiddenReplies[33396] ? 'expand_more' : 'expand_less'}} hide replies show replies
cojiluc cojiluc November 1, 2019 November 1, 2019 at 8:36:43 AM UTC link Permalink

Safari 13

{{vm.hiddenReplies[33399] ? 'expand_more' : 'expand_less'}} hide replies show replies
rumpelstilzchen rumpelstilzchen November 1, 2019, edited November 1, 2019 November 1, 2019 at 9:40:51 AM UTC, edited November 1, 2019 at 4:22:45 PM UTC link Permalink

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.

{{vm.hiddenReplies[33400] ? 'expand_more' : 'expand_less'}} hide replies show replies
PaulP PaulP November 1, 2019 November 1, 2019 at 2:53:09 PM UTC link Permalink

> Does any of these work with an iPad/iPhone?

Both work on iPhone!

cojiluc cojiluc November 1, 2019 November 1, 2019 at 3:43:42 PM UTC link Permalink

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".

{{vm.hiddenReplies[33402] ? 'expand_more' : 'expand_less'}} hide replies show replies
rumpelstilzchen rumpelstilzchen November 1, 2019 November 1, 2019 at 4:28:48 PM UTC link Permalink

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. :-)

rumpelstilzchen rumpelstilzchen November 11, 2019 November 11, 2019 at 4:31:06 PM UTC link Permalink

The code for the clipboard feature was updated. Does it now work on iOS?

{{vm.hiddenReplies[33466] ? 'expand_more' : 'expand_less'}} hide replies show replies
PaulP PaulP November 11, 2019 November 11, 2019 at 5:18:06 PM UTC link Permalink

> The code for the clipboard feature was updated. Does it now work on iOS?

No. Doesn’t work here.

{{vm.hiddenReplies[33467] ? 'expand_more' : 'expand_less'}} hide replies show replies
rumpelstilzchen rumpelstilzchen November 12, 2019 November 12, 2019 at 4:06:14 AM UTC link Permalink

What iPhone version do you use?

{{vm.hiddenReplies[33473] ? 'expand_more' : 'expand_less'}} hide replies show replies
PaulP PaulP November 12, 2019 November 12, 2019 at 6:05:05 AM UTC link Permalink

8 plus. IOS 13.1.2 (the latest)

{{vm.hiddenReplies[33474] ? 'expand_more' : 'expand_less'}} hide replies show replies
rumpelstilzchen rumpelstilzchen November 12, 2019 November 12, 2019 at 7:33:41 AM UTC link Permalink

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.

{{vm.hiddenReplies[33475] ? 'expand_more' : 'expand_less'}} hide replies show replies
PaulP PaulP November 12, 2019 November 12, 2019 at 9:09:12 AM UTC link Permalink

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!

cojiluc cojiluc November 11, 2019 November 11, 2019 at 6:50:04 PM UTC link Permalink

For me it works.