@php $id = $getId(); $statePath = $getStatePath(); @endphp @if ($isDisabled())
@else
merge($getExtraAttributes(), escape: false) ->class([ 'fi-fo-rich-editor max-w-full overflow-x-auto rounded-lg bg-white shadow-sm ring-1 transition duration-75 focus-within:ring-2 dark:bg-white/5', 'ring-gray-950/10 focus-within:ring-primary-600 dark:ring-white/20 dark:focus-within:ring-primary-500' => ! $errors->has($statePath), 'ring-danger-600 focus-within:ring-danger-600 dark:ring-danger-500 dark:focus-within:ring-danger-500' => $errors->has($statePath), ]) }} >
! 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:outline-none focus-visible:outline-none dark:text-white sm:text-sm sm:leading-6', ]) }} >
@endif