text-area(key, value, ..., key, value)
Inserts in generated content a (multi-line) text area control. This control can be used to edit the value of the element which is the target of the CSS rule. If "attribute, attribute_name" is specified, this control can be used to edit the value of an attribute of this target element.
| Key | Value | Default | Description |
|---|---|---|---|
| attribute | Qualified name of attribute to be edited | No default | Without this parameter, the control is used to edit the value of the element for which the control has been generated. |
| columns | Positive integer | None (the text field expands when the document view is resized) | Width of the control in characters. |
| rows | Positive integer | 3 | Number of lines displayed by the control |
| wrap | none | line | word | none | Specifies how text lines are wrapped. |
Key, value, ..., key, value may also specify style parameters.
Example:
text-area(attribute, value,
columns, 40,
rows, 2,
wrap, word)