chars
The number of characters from the field to display in the output. Useful for creating excerpts.
<perch:content type="text" id="heading" label="Heading" chars="100">
The append
attribute can be used with both words
and chars
to append a string at the end of the truncated text, for example, an ellipsis.
<perch:content type="text" id="heading" label="Heading" chars="100" append="...">