forked from extern/egroupware
ability to specify plugins for htmlarea
This commit is contained in:
parent
72f2561223
commit
c7e6cb74fa
@ -448,7 +448,9 @@ implement only a subset of XUL. Here are the main differences:</p>
|
||||
<td>
|
||||
<b>a multiline input-field for formatted (HTML) text</b><br>
|
||||
In the html-UI this is rendered as <textarea ...> and the HTMLarea javascript editor is used.<p>
|
||||
<b>Options</b> inline styles for the text/htmlarea.
|
||||
<b>Options</b> has 2 comma-separated fields:<br>
|
||||
xml: <b>style</b>: inline styles for the text/htmlarea<br>
|
||||
xml: <b>plugins</b>: plugins (comma-separated) to load
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -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'],
|
||||
|
@ -87,7 +87,10 @@
|
||||
'button' => array(
|
||||
'.name' => 'button',
|
||||
'size' => 'image,ro_image'
|
||||
)
|
||||
),
|
||||
'htmlarea' => array(
|
||||
'size' => 'style,plugins',
|
||||
),
|
||||
);
|
||||
$this->xul2widget = array(
|
||||
'menulist' => 'select',
|
||||
|
Loading…
Reference in New Issue
Block a user