I have a textarea field and a second select field. I want to click on a certain place in my textarea , and then choose a of the options in my select field, and I want this option to be chosen ( any text ), to appear in the place I last clicked on my textarea. My application is in Ruby on Rails and in my textarea, I use the Editor Froala Editor