Copying and pasting some part of the text should set the event.data with the selected part for inputType insertFromPaste