# Problem in using tinymce editor

**URL:** <https://www.ruby-forum.com/t/problem-in-using-tinymce-editor/103000>\
**Category:** Rails\
**Created:** [April 30, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/problem-in-using-tinymce-editor/103000 "2007-04-30T17:15:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![veeraa2003](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b487fb/32.png) [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Post date:** [April 30, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/problem-in-using-tinymce-editor/103000/1 "2007-04-30T17:15:46Z")

</div>

Hello everybody,

I have a problem in using tinymce editor. I successfully I loaded the  
tinymce as follows ;

\<%= javascript\_include\_tag :defaults %\>

// And textarea like

TinyMCE.

Here the problem I faced as follows :

1. I can simply type the text. But I dont know how to get the textarea  
value. Because here I want to save the content of the textarea into  
mysql table when the press the enter key. But I didn’t work.

2. I used a function " onKeyPress=“submit\_on\_enter(event)” for the above  
work. But Its didn’t work.

Can any one clarify my doubts. Please.

Thanks in advance,

Regards,  
Veeraa.
