Hi John,

My titration must be like this ? 

function tinyMCESubmit() {
for (element_Id in tinyMCE.editors)
    tinyMCE.editors[element_Id ].save();
document.form.submit();
}

Thanks

Le 11 janv. 2012 à 23:09, John & Kim Larson a écrit :

> I'm pretty sure it only saves the "active" editor, but I remember the API 
> being pretty good. There is probably tinyMCE.editors or something that 
> represents the collection of editors. You could iterate and save. 
> 
> John 
> 
> Sent from my iPhone
> 
> On Jan 11, 2012, at 4:01 PM, Raymond NANEON <[email protected]> wrote:
> 
>> Thanks for your reply.
>> 
>> 
>> I use AjaxTabPanel including 3 WOText bing and each WOText bind to tinyMCE. 
>> So the function tinyMCE.activeEditor.save() can save all WOText value at one 
>> time or selected WOText tab? If it save selected WOText tab, I have problem.
>> 
>> Envoyé depuis iCloud
>> 
>> 
>> Le 11 janv. 2012 à 22:48, John & Kim Larson a écrit :
>> 
>>> That's exactly right. Call tinyMCE.activeEditor.save() before making your 
>>> Ajax request. 
>>> 
>>> John 
>>> 
>>> Sent from my iPhone
>>> 
>>> On Jan 11, 2012, at 2:12 PM, Johann Werner <[email protected]> wrote:
>>> 
>>>> Hi Raymond,
>>>> 
>>>> isn't tinyMCE putting the editable text into an own html element and 
>>>> catching the form's submit to put back the edited text into the original 
>>>> input field? Then your problem would be that the AjaxSubmitButton doesn't 
>>>> trigger the onSubmit event on the form as it will do an ajax request like 
>>>> its name suggests. So you would have to manually call the necessary 
>>>> "cleanup" function of tinyMCE from the onClickBefore binding prior sending 
>>>> of the form contents takes place. But that's just a wild guess.
>>>> 
>>>> jw
>>>> 
>>>> 
>>>> Am 10.01.2012 um 14:47 schrieb Raymond NANEON:
>>>> 
>>>>> Hi All,
>>>>> 
>>>>> I have a real problem using tinyMCE and CustomAjaxSubmitButton 
>>>>> (ajaxSubmitButton with icon (add, cancel, delete)). The problem is on 
>>>>> submitting action, data are always set to null and when I use request 
>>>>> form field values, there are also null. But When I use the classic 
>>>>> WOSubmitButton, the request form field value are set.
>>>>> 
>>>>> So, What the problem of AjaxSubmitButton ? What is the difference in 
>>>>> submitting action between WOSubmitButton and AjaxSubmitButton?
>>>>> 
>>>>> Thanks for your help.
>>>>> Envoyé depuis iCloud
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list      ([email protected])
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> http://lists.apple.com/mailman/options/webobjects-dev/jw%40oyosys.de
>>>>> 
>>>>> This email sent to [email protected]
>>>> 
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/the_larsons%40mac.com
>>>> 
>>>> This email sent to [email protected]
>> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to