Topic: paste text into textarea
Hi, i'm a RoR newbie. I'm using InstantRails2.
I've a form with a textarea with FCKEditor and I need to insert some text at the cursor position while I'm writing into the textarea.
The text to add is contained in a mysql table, where records are made of title and description.
My first idea consist in a collection_select where are shown the 'titles' and a button that send the relative 'description' at the cursor position of the textarea.
I'm not sure that's the better solution and I haven't found material about it.
Could you help me, please?