i ve installed tiny mce plugins…and extracted it to public/javascript
folder…how can i write textarea tag in rhtml and how to call tinymce
function…??? is there any link for tinymce step by step guide… ???
thank u very much…for ur kind reply…
still it displays textarea field not editor field …
i m trying out this tag…in rhtml file " <%= text_area_tag( ‘blog’, ‘’,
:cols => “50” ,:class => “tiny_mce” ) %>
Step 1: In yr rhtml load the necessay java scripts using
java_script_include_tag
Step 2: have this script (change the ‘available_fields_list’ to yr field
id)
Insert this script and try…
thank u friend…got it worked…
if you want to have tiny_mce appear on text area instances for your
project, you can follow this step-by-step tutorial:
http://www.johnwulff.com/articles/2006/05/31/tinymce-with-ruby-on-rails
worked well for me.