Preview bug;
If you edit an article, then preview your edit, then choose submit, the original (unedited) text is saved, losing your changes.
This small change should fix this bug.
In article.php
Find ;
PHP Code:
construct_edit_toolbar($editarticle['message']);
Add this code above it ;
PHP Code:
if ($_REQUEST['edpreview'])
{
if (isset($_POST['WYSIWYG_HTML']))
{
$editarticle['message'] = convert_wysiwyg_html_to_bbcode($_POST['WYSIWYG_HTML'], 0);
}
else
{
$editarticle['message'] = &$_POST['message'];
}
}