mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
use tinymce for htmlareas
This commit is contained in:
parent
822e08e0ff
commit
9cbf5c356b
@ -885,7 +885,13 @@
|
|||||||
if (!$styles) $styles = 'width: 100%; min-width: 500px; height: 300px;'; // default HTMLarea style in html-class
|
if (!$styles) $styles = 'width: 100%; min-width: 500px; height: 300px;'; // default HTMLarea style in html-class
|
||||||
if (!$readonly)
|
if (!$readonly)
|
||||||
{
|
{
|
||||||
$html .= $this->html->htmlarea($form_name,$value,$styles,'',$plugins,'',true);
|
// $html .= $this->html->htmlarea($form_name,$value,$styles,'',$plugins,'',true);
|
||||||
|
$init = 'theme : "advanced",
|
||||||
|
theme_advanced_toolbar_location : "top",
|
||||||
|
plugins : "fullscreen",
|
||||||
|
theme_advanced_buttons3_add : "fullscreen"';
|
||||||
|
$html .= $this->html->tinymce($form_name,$value,$styles,$init);
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']['etemplate']['to_process'][$form_name] = array(
|
$GLOBALS['phpgw_info']['etemplate']['to_process'][$form_name] = array(
|
||||||
'type' => $cell['type'],
|
'type' => $cell['type'],
|
||||||
'needed' => $cell['needed'],
|
'needed' => $cell['needed'],
|
||||||
|
Loading…
Reference in New Issue
Block a user