Em Tue, 01 Sep 2009 11:43:45 -0300, newtonik <newto...@gmail.com> escreveu:

Hey,

Hi!

Has anyone been able to figure out a way to use the FCKEditor in a ajax form submission. It seems like the data in the editor doesn't get assigned during a ajax submit. This prevents me using formzone when I have fckeditors
textarea. Has anyone worked around this issue?  Thanks.

The solution I've found was to add the following JavaScript snippet:

Event.observe('form', 'submit', function() { FCKeditorAPI.Instances['editor'].UpdateLinkedField(); });

Replace editor with your field id.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to