0

When we long tap in mobile/tablet browser then we get content selection option like copy whole page, copy selected text, share button, and search button

enter image description here

Picture copied from this thread.

So can I select full blockquote text(<blockquote>This is sample text</blockquote>) directly without going upper or below?

I know I can't add another context menu(callout) but I am looking some solution which copy full text of blockquote in first/default touch and not just single word.

Feel free to add another way to copy/share blockquote text easily, but I am looking for lightweight solution. I tried whatsapp and twitter solution, but it make my page lengthy, since I have multiple blockquote per page.

Goyllo
  • 331
  • 3
  • 15
  • Related? https://stackoverflow.com/questions/400212/how-do-i-copy-to-the-clipboard-in-javascript – Morrison Chang Feb 10 '18 at 07:31
  • 1
    @MorrisonChang I don't think it's related. My understanding of the question is that OP wants to long-press the text inside the `
    ` tag and have the entire block of text selected, without any text outside of the blockquote being selected.
    – jdgregson Feb 10 '18 at 07:38
  • @jdgregson True it doesn't provide the exact solution the OP is looking for but may provide an acceptable solution. Given the lack of what has the OP has tried, I figure a link for the OP to review and if needed update the question appropriately. – Morrison Chang Feb 10 '18 at 07:46
  • @MorrisonChang Yeah, if nothing else works OP should be able to set an event listener to copy the text to the clipboard on touch or on click or something like that. But it would have to be clearly communicated to the user as it would be a non-standard user experience. – jdgregson Feb 10 '18 at 07:48
  • If I go with manual solution then I need many buttons like copy button, and share button for fb, twitter, whatsapp, hike etc. Which will make my page very lengthy for multiple blockquote. While share button in context menu allowed to share any text in all app automatically. Hence I am looking for lightweight solution. – Goyllo Feb 10 '18 at 08:11

0 Answers0