A rich text editor.
The buttons
and rbuttons
attributes may be used to configure the row of buttons at the top of the editor. You can set them to a comma separated list of the following possible values:
You can also add a bar symbol (|) which will insert a divider between the buttons.
The default for buttons is to have all text controls on the left, and the view button on the right.
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
breaks |
Use line breaks? | boolean | No | no |
|
buttons |
A list of buttons. | comma list | No | bold,italic,underline,strike,|,h1,h2,h3,|,ol,ul,|,left,center,right,justify,|,quote,|,link,image |
|
from |
Application | application reference | No | ||
name |
The name attribute of the textarea. | text | No | ||
placeholder |
Placeholder text to display in empty editor | text | No | ||
rbuttons |
A list of buttons on the right hand side. | comma list | No | view |
|
rows |
Number of rows. | integer | No | 12 |
|
template |
Override widget template | list of template paths | No |
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
if |
Conditional expression | expression | No | yes |