mrfritz379 wrote:Here's my guess w/o seeing the code.
You have a textarea form field that is being submitted to the php processor, but the WYSIWYG editor is probably not using the textarea field at all. More often than not those editors use an iframe or some other element to contain the html code as you write it.
So what you need to do is make sure that there is some kind of javascript that will assign the value of the WYSIWYG editor to the textarea, including the html. check the onSubmit function- it should go something along the lines of
var frm = document.getElementById('form'); //get the form
var ed = document.getElementById('wysiwyg'); //the editor node
var txt = document.getElementById('textarea_field'); //the textarea field
var frm_text = ed.innerHTML.replace(/</, '<'); //html encode the wysiwyg text
txt.value = frm_text.replace(/>/, '>');
frm.submit();
Sorry, but I highly doubt it, this is what the siteadmin og the wysiwyg editor has to say:
Hi DBloecher,
Actually it's passing the changes made to the wysiwyg back to the textarea (the textarea the WYSIWYG originally replaced).
So when you submit your form, just pass the values of your textarea field to your PHP script.
I hope this makes sense. Let me know if you have any other questions.
Cheers,
Steve
openwebware.com