\MarkdownTextareaField
Configure the input field for markdown
Synopsis
class MarkdownTextareaField
extends TextareaField
{
- // members
- private static array $allowed_actions = ;
- protected integer $rows = 15;
- protected boolean $enable_extra = false;
- // methods
- public string FieldHolder()
- public MarkdownTextareaField enableExtra()
- public string preview()
- public string parse()
- public ArrayList ToolbarButtons()
Hierarchy
Extends
- TextareaField
Members
private
- $allowed_actions
—
array
Define the actions allowed on this field
protected
- $enable_extra
—
boolean
Toggle rendering markdown with extra syntax enabled. - $rows — int
Methods
public
- FieldHolder() — Returns the field holder used by templates
- ToolbarButtons() — Get buttons described in buttons.yml and wrap them in ViewableData
- enableExtra() — Turn on extra syntax support
- parse() — Parse markdown into html
- preview() — Body for the preview iframe with just the typography styles included