Documentation

RichText extends Component
in package

Summary of InputRichText

Tags
dispatches

Livewire:ChangeRichText: with $delta

dispatches

CustomEvent:StartRichEdit:

dispatches

CustomEvent:DoneRichEdit:

listens

Livewire:LoadContent: {content} where content is the $delta

listens

Livewire:DisposeContent:

Table of Contents

$content  : mixed
$label  : string|null
$livewire  : bool
$name  : string
$readOnly  : bool
$toolbarOptions  : array<string|int, mixed>
__construct()  : mixed
Create a new component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

$toolbarOptions

public array<string|int, mixed> $toolbarOptions = []

Methods

__construct()

Create a new component instance.

public __construct(string $name[, mixed $label = null ][, bool $readOnly = false ][, mixed $content = null ][, bool $livewire = true ][, mixed $fonts = null ]) : mixed
Parameters
$name : string

Name of the field, will be used for the event communication

$label : mixed = null

Label of the field or false

$readOnly : bool = false

Read only or not

$content : mixed = null

Content of the field

$livewire : bool = true

Livewire or not

$fonts : mixed = null

Fonts to be used in the rich text editor

Return values
mixed

render()

Get the view / contents that represent the component.

public render() : View|string
Return values
View|string

Search results