How to press a button when a text is selected in the textarea to become *SelectedText* Like the Overflow stack editor