View Full Version : vB3 - What does it take to get the WYSIWYG editor to... ummm... work?


squall14716
9th July 2003, 05:10 AM
Well, I am working on a shoutbox, but whenever the WYSIWYG editor is used to make a shout, the message comes up blank. I'd think that this code would be enough to make it work:
if (isset($_POST['WYSIWYG_HTML'])) {
require_once('./includes/functions_wysiwyg.php');
$newpost['message'] = convert_wysiwyg_html_to_bbcode($_POST['WYSIWYG_HTML']);
} else {
$newpost['message'] = $_POST['message'];
}
But that still doesn't work. Any ideas?

fury
9th July 2003, 06:36 AM
I'm not sure. It depends on what function you're passing $newpost to for parsing, if any, and how you're putting the wysiwyg editor in there. There are some things that it depends on. Try basing your editor on the ones in newpost, etc

Floris
14th July 2003, 01:03 PM
I hope you can get it to work ! Keep us updated.