Keep in mind I don't using TinyMCE, I use FCKEditor, but the principle should be the same...
Basically, I write a small plugin that is responsible for 1. Creating an instance of the editor 2. Retrieving the HTML content from the editor and 'preparing' it for form submission For example... $.FCK.Start(); // creates the editors $.FCK.Update(); // updates the editors At the moment, all my form submissions go through one function that will always call the $.FCK.Update() method, but this could be integrated with other plugins - in their configuration For example... if (options.FCKEditor) $.FCK.Update(); My implementation is very specific to my needs, but I can send you the code and help you work on a more generic solution if you like. Just let me know... On Jun 7, 1:36 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Diego A. wrote: > > I don't use TinyMCE but I have a similar problem with FCKEditor and > > Codepress (both JS based rich-text editors). > > > Usually, these RT editors update the contents of the field/textarea > > element just before the form is submitted, which probably happens > > after your validation. > > > I work around it by manually updating the value of the field/textarea > > before I call the validation/submit the form. > > Could you describe in more detail how you do that? As this issue is > quite likely to occur for others, I'd like to write examples showing how > to integrate validation with those editors. > > -- > Jörn Zaefferer > > http://bassistance.de