; >>> doe somebody manage to make tinymce work with an ajax submit
>> button
>> > > >>> regards
>> > > >>> Marc
>> > > >>>
>> > > >>>
>> ---------
>> > > >>> To unsubscribe, e-
For a project I also needed a AjaxSubmitLink to submit the tinyMce data, so
i've searched for a solution and found it at
http://dwairi.blogspot.com/2006/12/tinymce-ajax.html
The solution is to add "tinyMCE.triggerSave(true,true);" to the onclick of
the ajax button/link before the wicket code is cal
tinymce replaces the textarea with an iframe. after that it installs
an onsubmit hook to detect when the form is submitted and does the
opposite. since you are submitting via ajax form's onsubmit() is never
called and so tinymce doesnt replace the iframe with a textarea piror
tp submit. you need to
Hi Marc,
I have the same problem. When i am submitting a textarea with a
TinyMCEBehavior the model of the textarea does not get updated.
I am interested in your solution, but I do not understand it.
It would be nice if you (or anyone else) could explain it for me.
Thanks in advance,
Benjamin
20
godin a écrit :
Frank Bille a écrit :
Hi,
Do you have problems with it?
yes , the submit work half a time
i will investigate it more
Ok find a workaround,
pb on mozilla, use a decorator
super.decorateScript("tinyMCE.triggerSave(true,
true);"+script+"tinyMCE.idCounter=0;");
rega
Frank Bille a écrit :
Hi,
Do you have problems with it?
yes , the submit work half a time
i will investigate it more
I tried it over a year ago, and as far as I remember there was nothing to
it. That was Wicket 1.2.3 and tinymce from back then.
Frank
On Nov 16, 2007 5:24 PM, godin
Hi,
Do you have problems with it?
I tried it over a year ago, and as far as I remember there was nothing to
it. That was Wicket 1.2.3 and tinymce from back then.
Frank
On Nov 16, 2007 5:24 PM, godin <[EMAIL PROTECTED]> wrote:
> Hi,
> doe somebody manage to make tinymce work with an ajax submit
Hi,
doe somebody manage to make tinymce work with an ajax submit button
regards
Marc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]