mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
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.
This commit is contained in:
parent
ace6deee7b
commit
c5a3178c77
@ -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='<input type="submit" name="no-htmlarea" onclick="self.location.href=\''.$GLOBALS['egw']->link('/index.php','menuaction=admin.uimainscreen.index&htmlarea=true').'\'" value="'.lang('disable WYSIWYG-editor').'">';
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user