You probably want to be very explicit about what kinds of interactions you want here. Based on your website comment, I assume text selection and maybe "copy to clipboard"? No text editing, right?
What is it that you're trying to do exactly? For instance, what's the purpose of the user highlighting the text, assuming they can't change it?