Implement fullscreen editor for template preview: Added a fullscreen editing feature with collapsible editor functionality and improved loading indicators. Enhanced the template preview Blade view for better user interaction and experience during content editing and previewing.

This commit is contained in:
Ümit Tunç
2025-10-31 17:14:21 -03:00
parent 6f12dda0d9
commit 8d7b3f0914
2 changed files with 353 additions and 5 deletions
@@ -8,6 +8,8 @@ use Filament\Forms\Components\Toggle;
use Filament\Schemas\Components\Section;
use Filament\Schemas\Components\View;
use Filament\Schemas\Schema;
use Filament\Forms\Components\CodeEditor\Enums\Language;
class FooterTemplateForm
{
@@ -26,6 +28,7 @@ class FooterTemplateForm
CodeEditor::make('html_content')
->label(__('footer-templates.field_html_content'))
->required()
->language(Language::Html)
->live(onBlur: false) // Real-time updates
->columnSpanFull()
->helperText(__('footer-templates.field_html_content_help'))