Copy selected text

Hello!
First of all, I would like to thank everybody for this awesome tools and community :slight_smile:

I’m working on extractive NLP models and I am building a tool (using ST) to present some text to the user and let it select a small part of it. However, I could not find the way to programmatically obtain the selected text (like if I click the “add” or “save” button).
Can this be done with ST? or any other suggestion on how to do it?

Thank you so much!

Can anybody help me?
Sorry if this is a naive question but I couldn’tt find it anywhere :frowning:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.