Files
eatvio-infra/resources/views/components/trix-field.blade.php
Anatoliy Poloz a9601ab15d eating plan added
2022-07-27 14:53:16 +00:00

15 lines
275 B
PHP

@props(['id', 'name', 'value' => ''])
<input
type="hidden"
name="{{ $name }}"
id="{{ $id }}_input"
value="{{ $value }}"
/>
<trix-editor
id="{{ $id }}"
input="{{ $id }}_input"
{{ $attributes->merge(['class' => 'trix-content']) }}
></trix-editor>