merge($getExtraAttributes())->class(['filament-forms-rich-editor-component space-y-2']) }} {{ $getExtraAlpineAttributeBag() }} > @unless ($isDisabled()) ! count($getToolbarButtons()), ]) >
@if ($hasToolbarButton(['bold', 'italic', 'underline', 'strike', 'link']))
@if ($hasToolbarButton('bold')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bold" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" > @endif @if ($hasToolbarButton('italic')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="italic" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" > @endif @if ($hasToolbarButton('underline')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="underline" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" > @endif @if ($hasToolbarButton('strike')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="strikethrough" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" > @endif @if ($hasToolbarButton('link')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="link" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" > @endif
@endif @if ($hasToolbarButton(['h1', 'h2', 'h3']))
@if ($hasToolbarButton('h1')) {{ __('forms::components.rich_editor.toolbar_buttons.h1') }} @endif @if ($hasToolbarButton('h2')) {{ __('forms::components.rich_editor.toolbar_buttons.h2') }} @endif @if ($hasToolbarButton('h3')) {{ __('forms::components.rich_editor.toolbar_buttons.h3') }} @endif
@endif @if ($hasToolbarButton(['blockquote', 'codeBlock', 'bulletList', 'orderedList']))
@if ($hasToolbarButton('blockquote')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="quote-left" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" > @endif @if ($hasToolbarButton('codeBlock')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="code" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" > @endif @if ($hasToolbarButton('bulletList')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="list-ul" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" > @endif @if ($hasToolbarButton('orderedList')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="list-ol" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" > @endif
@endif @if ($hasToolbarButton('attachFiles'))
config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="image" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" >
@endif
@if ($hasToolbarButton(['undo', 'redo']))
@if ($hasToolbarButton('undo')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="rotate-left" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" > @endif @if ($hasToolbarButton('redo')) config('forms.dark_mode'), ]) aria-hidden="true" focusable="false" data-prefix="fas" data-icon="rotate-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" > @endif
@endif
class([ 'prose block w-full max-w-none break-words rounded-lg bg-white shadow-sm outline-none transition duration-75 focus:border-primary-500 focus:ring-1 focus:ring-inset focus:ring-primary-500', 'dark:prose-invert dark:bg-gray-700 dark:focus:border-primary-500' => config('forms.dark_mode'), ]) }} x-bind:class="{ 'border-gray-300': ! (@js($getStatePath()) in $wire.__instance.serverMemo.errors), 'dark:border-gray-600': ! (@js($getStatePath()) in $wire.__instance.serverMemo.errors) && @js(config('forms.dark_mode')), 'border-danger-600 ring-danger-600': @js($getStatePath()) in $wire.__instance.serverMemo.errors, 'dark:border-danger-400 dark:ring-danger-400': @js($getStatePath()) in $wire.__instance.serverMemo.errors && @js(config('forms.dark_mode')), }" > @else
config('forms.dark_mode'), ]) >
@endunless