From c5a3178c775b9b2e15179550f829f76e7634ec6b Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 11 Aug 2008 09:25:23 +0000 Subject: [PATCH] if you switch from text to html, and back, or if you save the message in html mode, there is no way back to WYSIWYG but using the source button of fck editor and pasting the content of the window. To enable this, call htmlarea with the style parameter 'advanced', wich will be used as editor-mode switch then. --- admin/inc/class.uimainscreen.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.uimainscreen.inc.php b/admin/inc/class.uimainscreen.inc.php index d1b998ca9c..ccf5f1c8a9 100644 --- a/admin/inc/class.uimainscreen.inc.php +++ b/admin/inc/class.uimainscreen.inc.php @@ -120,7 +120,7 @@ if($_POST['htmlarea']) { - $text_or_htmlarea=$html->htmlarea('message',$html->htmlspecialchars($current_message)); + $text_or_htmlarea=$html->htmlarea('message',$html->htmlspecialchars($current_message),'advanced'); $htmlarea_button=''; } else