Okay I figured it out.  I emailed Josh, the author of the library and
this was his response:

If you using the 0.1 release it should automatically sync the
description textarea and the rich text area.

In on the latest version, I disabled this feature by default because
it was slowing alot of browsers down. So you can manually flush the
content out with "editor.save();". So you could do
onclick="editor.save();" or something like that.

So I also had to make editor a global variable and then I included
editor.save() in :before with
submit_to_remote

On Feb 25, 7:29 pm, Dave L <dly...@gmail.com> wrote:
> I've been trying to figure this out and I don't think its an issue
> with the database.  When the form is submitted, its contents are blank
> everytime, so it is not submitting correctly.  I have made a pastie
> with my console output, ignore the template error, I am just trying to
> get it to submit the contents of the text area:http://pastie.org/400591.
>
> Has anyone been able to use the wysihat library and successfully save
> to the database?
>
> On Feb 25, 5:17 pm, Sarah Mei <sarah...@gmail.com> wrote:
>
> > Couple of questions: first, what happens if you copy and paste the
> > insert SQL into your database and run it (i.e., are you sure the SQL
> > works on your db)? Second, what is in your log after the NoMethodError
> > message?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to