Files
a.montask/resources/views/vendor/rich-text-laravel/components/input.blade.php
T
2026-04-23 14:49:46 +03:30

14 lines
297 B
PHP

@props(['id', 'name' => null, 'value' => ''])
@php
$editor = \Tonysm\RichTextLaravel\RichTextLaravel::editorName();
@endphp
<x-dynamic-component
:component="'rich-text::' . $editor"
:id="$id"
:name="$name"
:value="$value"
{{ $attributes }}
>{{ $slot }}</x-dynamic-component>