@props([ 'label' => null, 'hint' => null, 'placeholder' => 'Write your story here... Use markdown or the toolbar above.', 'minHeight' => 'min-h-[340px]', 'required' => false, 'value' => '', ]) @php $wireModel = $attributes->wire('model')->value(); $id = $attributes->get('id', 'editor_' . ($wireModel ?: uniqid())); @endphp
{{ $hint }}
@endif @if ($wireModel) @error($wireModel){{ $message }}
@enderror @endif