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:
Chris Chapman
2022-06-24 20:55:55 -07:00
committed by GitHub
parent 9e5e7d3057
commit 3bbbf493a9

View File

@@ -29,7 +29,7 @@ We provide [an official PHP package to work with Tiptap content](/api/utilities/
```html
<div
x-data="setupEditor(
$wire.entangle('{{ $attributes->wire('model') }}').defer
$wire.entangle('{{ $attributes->wire('model')->value() }}').defer
)"
x-init="() => init($refs.editor)"
wire:ignore