<editor>

name
editor
library
moya.wysihtml5
xml namespace
http://moyaproject.com/wysihtml5

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:

bold
Bold text
italic
Italic text
underline
Underline text
strike
Strikethrough text
h1 - h7
Header level 1 through 7
ol
Ordered List
ul
Unordered List
left
Left align
center
Center align
right
Right align
justify
Justify text
quote
Block quote
link
Insert a link
image
Insert an image
view
Switch between rich text and markup view

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.

attributes
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
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes