Can this not be performed assigned to a click event so that the data shown appears as a string in the document, at the cursor point.