Is there a way to get the selected part of a text in a textarea? What I want to do is to create something like this text box, user can select a part of the text and make it numbered or bolleted. Thanks .