diff --git a/etemplate/doc/referenz.html b/etemplate/doc/referenz.html
index 57401042e8..0b1f9a1674 100644
--- a/etemplate/doc/referenz.html
+++ b/etemplate/doc/referenz.html
@@ -448,7 +448,9 @@ implement only a subset of XUL. Here are the main differences:
a multiline input-field for formatted (HTML) text
In the html-UI this is rendered as <textarea ...> and the HTMLarea javascript editor is used.
- Options inline styles for the text/htmlarea.
+ Options has 2 comma-separated fields:
+ xml: style: inline styles for the text/htmlarea
+ xml: plugins: plugins (comma-separated) to load
|
diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php
index 3d326a5b91..22865181be 100644
--- a/etemplate/inc/class.uietemplate.inc.php
+++ b/etemplate/inc/class.uietemplate.inc.php
@@ -646,10 +646,11 @@
);
}
break;
- case 'htmlarea': // Multiline formatted Text Input, size: [inline styles for the widget]
+ case 'htmlarea': // Multiline formatted Text Input, size: [inline styles for the widget][,plugins (comma-sep.)]
if (!$readonly)
{
- $html .= $this->html->htmlarea($form_name,$value,$cell_options);
+ list($styles,$plugins) = explode(',',$cell_options,2);
+ $html .= $this->html->htmlarea($form_name,$value,$styles,'',$plugins);
$GLOBALS['phpgw_info']['etemplate']['to_process'][$form_name] = array(
'type' => $cell['type'],
'needed' => $cell['needed'],
diff --git a/etemplate/inc/class.xul_io.inc.php b/etemplate/inc/class.xul_io.inc.php
index f5800b0170..2801c7d289 100644
--- a/etemplate/inc/class.xul_io.inc.php
+++ b/etemplate/inc/class.xul_io.inc.php
@@ -87,7 +87,10 @@
'button' => array(
'.name' => 'button',
'size' => 'image,ro_image'
- )
+ ),
+ 'htmlarea' => array(
+ 'size' => 'style,plugins',
+ ),
);
$this->xul2widget = array(
'menulist' => 'select',