docs: fix livewire attribute (#2928)
The `->wire('...')` alone will output the entire attribute string. We only want
the `->value()` portion.
This commit is contained in:
@@ -29,7 +29,7 @@ We provide [an official PHP package to work with Tiptap content](/api/utilities/
|
|||||||
```html
|
```html
|
||||||
<div
|
<div
|
||||||
x-data="setupEditor(
|
x-data="setupEditor(
|
||||||
$wire.entangle('{{ $attributes->wire('model') }}').defer
|
$wire.entangle('{{ $attributes->wire('model')->value() }}').defer
|
||||||
)"
|
)"
|
||||||
x-init="() => init($refs.editor)"
|
x-init="() => init($refs.editor)"
|
||||||
wire:ignore
|
wire:ignore
|
||||||
|
|||||||
Reference in New Issue
Block a user