From 77588b2cb636ed4651b999045835da1760592b74 Mon Sep 17 00:00:00 2001 From: Pitchayakit Date: Tue, 20 Jan 2026 10:10:14 +0700 Subject: [PATCH] refactor: Apply Filament rich editor classes to support filament 4 --- resources/views/tiny-editor.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/tiny-editor.blade.php b/resources/views/tiny-editor.blade.php index 78768c3..94317dc 100644 --- a/resources/views/tiny-editor.blade.php +++ b/resources/views/tiny-editor.blade.php @@ -125,8 +125,10 @@ wire:key="{{ $livewireKey }}.{{ substr(md5(serialize([$isDisabled])), 0, 64) }}" > @if ($isDisabled) -
$getPreviewMaxHeight() > 0, 'min-height: ' . $getPreviewMinHeight() . 'px' => $getPreviewMinHeight() > 0]) - class="prose dark:prose-invert block w-full max-w-none overflow-y-auto rounded-lg border border-gray-300 bg-white p-3 opacity-70 shadow-sm transition duration-75 dark:border-gray-600 dark:bg-gray-700 dark:text-white"> +
+
$getPreviewMaxHeight() > 0, 'min-height: ' . $getPreviewMinHeight() . 'px' => $getPreviewMinHeight() > 0]) + class="fi-fo-rich-editor-content fi-prose block w-full max-w-none overflow-y-auto rounded-lg border border-gray-300 bg-white p-3 opacity-70 shadow-sm transition duration-75 dark:border-gray-600 dark:bg-gray-700 dark:text-white"> +
@else