class Wysiwyg extends TwillFormComponent (View source)

Properties

Model|null $item from  TwillFormComponent
array $form_fields from  TwillFormComponent
string|null $formModuleName from  TwillFormComponent
string|null $routePrefix from  TwillFormComponent

Methods

__construct(string $name, string $label, bool $renderForBlocks = false, bool $renderForModal = false, bool $translated = false, bool $required = false, string|null $note = '', mixed $default = null, bool $disabled = false, bool $readOnly = false, bool $inModal = false, bool $hideCounter = false, string|null $placeholder = null, string|null $direction = 'auto', bool $editSource = false, array|null $toolbarOptions = null, int|null $maxlength = null, array|null $options = null, string $type = 'tiptap', bool $limitHeight = false, bool $syntax = false, string $customTheme = 'github', array|null $customOptions = null, array|null $browserModules = null, array|null $endpoints = null, array|null $classList = null)

No description

string
formFieldName(bool $asAttributes = false, string|null $customName = null)

No description

View
render()

No description

Details

__construct(string $name, string $label, bool $renderForBlocks = false, bool $renderForModal = false, bool $translated = false, bool $required = false, string|null $note = '', mixed $default = null, bool $disabled = false, bool $readOnly = false, bool $inModal = false, bool $hideCounter = false, string|null $placeholder = null, string|null $direction = 'auto', bool $editSource = false, array|null $toolbarOptions = null, int|null $maxlength = null, array|null $options = null, string $type = 'tiptap', bool $limitHeight = false, bool $syntax = false, string $customTheme = 'github', array|null $customOptions = null, array|null $browserModules = null, array|null $endpoints = null, array|null $classList = null)

No description

Parameters

string $name
string $label
bool $renderForBlocks
bool $renderForModal
bool $translated
bool $required
string|null $note
mixed $default
bool $disabled
bool $readOnly
bool $inModal
bool $hideCounter
string|null $placeholder
string|null $direction
bool $editSource
array|null $toolbarOptions
int|null $maxlength
array|null $options
string $type
bool $limitHeight
bool $syntax
string $customTheme
array|null $customOptions
array|null $browserModules
array|null $endpoints
array|null $classList

string formFieldName(bool $asAttributes = false, string|null $customName = null)

No description

Parameters

bool $asAttributes
string|null $customName

Return Value

string

View render()

No description

Return Value

View