@php use Filament\Support\Facades\FilamentView; $id = $getId(); $statePath = $getStatePath(); @endphp @if ($isDisabled())
@else
! count($getToolbarButtons()), ]) >
@if ($hasToolbarButton(['bold', 'italic', 'underline', 'strike', 'link'])) @if ($hasToolbarButton('bold')) @endif @if ($hasToolbarButton('italic')) @endif @if ($hasToolbarButton('underline')) @endif @if ($hasToolbarButton('strike')) @endif @if ($hasToolbarButton('link')) @endif @endif @if ($hasToolbarButton(['h1', 'h2', 'h3'])) @if ($hasToolbarButton('h1')) {{ __('filament-forms::components.rich_editor.toolbar_buttons.h1') }} @endif @if ($hasToolbarButton('h2')) {{ __('filament-forms::components.rich_editor.toolbar_buttons.h2') }} @endif @if ($hasToolbarButton('h3')) {{ __('filament-forms::components.rich_editor.toolbar_buttons.h3') }} @endif @endif @if ($hasToolbarButton(['blockquote', 'codeBlock', 'bulletList', 'orderedList'])) @if ($hasToolbarButton('blockquote')) @endif @if ($hasToolbarButton('codeBlock')) @endif @if ($hasToolbarButton('bulletList')) @endif @if ($hasToolbarButton('orderedList')) @endif @endif @if ($hasToolbarButton('attachFiles')) @endif @if ($hasToolbarButton(['undo', 'redo'])) @if ($hasToolbarButton('undo')) @endif @if ($hasToolbarButton('redo')) @endif @endif
class([ 'prose min-h-[theme(spacing.48)] max-w-none !border-none px-3 py-1.5 text-base text-gray-950 dark:prose-invert focus-visible:outline-none sm:text-sm sm:leading-6 dark:text-white', ]) }} >
@endif