[HTML_AJAX-devel] HTML_Ajax.formsubmit with tiny mce editor
Joshua Eichorn
josh at bluga.net
Thu Dec 21 08:47:15 PST 2006
Leo Márquez wrote:
> Hi!,
>
> I'm having problems with HTML_Ajax when submit forms with textareas as
> tiny mce editor: http://tinymce.moxiecode.com/
> Tiny editor convert all my textareas in rich editors.
> I think this conversion makes no possible to HTML_Ajax do a correct
> formSubmit.
> The textareas content are empty in the action page of the form.
> If I disable tiny the formsubmit works fine.
>
> Before going to study the tiny mce and HTML_Ajax.formsubmit source
> code I want to ask if anyone has had this problem.
>
> Thanks.
>
If tinymce is putting data into the textarea things will work,
formSubmit does a very standard serialization, maybe you need to add a
onsubmit handler that calls the tinymce function to save to the textarea
then calls formSubmit
-josh
More information about the Html_ajax-devel
mailing list