Hi team, is there any way to get the selected text when i select text and click copytextpopup

Which product are you using?
PDF.js Express Viewer
PDF.js Express Version

Detailed description of issue
{Description here}

Expected behaviour
{Provide a screenshot or description of the expected behaviour}

Does your issue happen with every document, or just one?
{Answer here}

Link to document
{Provide a link to the document in question if possible}

Code snippet
{Provide a relevant code snippet}

Hello xuanhieuduong1999,

The copy text popup puts it into the clipboard, you can then use the clipboard API Clipboard API - Web APIs | MDN to access it.

Best regards,