#30 new
Tim

Multiple TinyMCE instances not saving to database

Reported by Tim | December 11th, 2010 @ 05:19 PM

I have multiple TinyMCE instances on a single form (for nested and deeply nested resources). These forms work correctly as plain textareas, but when assigned :class => "mceEditor", only the last TinyMCE instance saves its content to the database. This is regardless of which resource it is used for--whichever is last on the page is the last one to be saved.

I am initializing each of the instances individually by calling tiny_mce_init_if_needed in each of my partials which generate the nested resources. Perhaps there is a better way...?

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Ruby on Rails plugin that allows easy implementation of the TinyMCE editor into your applications.

People watching this ticket

Pages