OMEGA\lulufj.ho 3 недель назад
Родитель
Сommit
4391a42793
1 измененных файлов: 8 добавлений и 1 удалений
  1. 8
    1
      app/Filament/Resources/EsgResource.php

+ 8
- 1
app/Filament/Resources/EsgResource.php Просмотреть файл

149
                                             ->enabledToolbars($editor_toolbar)
149
                                             ->enabledToolbars($editor_toolbar)
150
                                             ->required()
150
                                             ->required()
151
                                             ->live(onBlur: true)
151
                                             ->live(onBlur: true)
152
-                                            ->columnSpanFull(),
152
+                                            ->columnSpanFull()
153
+                                            ->basicColors([
154
+                                                '#000000',
155
+                                                '#333333',
156
+                                                '#666666',
157
+                                                '#999999',
158
+                                                '#ffffff',  
159
+                                            ]),
153
                                         FilamentLexicalEditor::make('block_content_en')
160
                                         FilamentLexicalEditor::make('block_content_en')
154
                                             ->label('English Content')
161
                                             ->label('English Content')
155
                                             ->id(fn ($get) => "block_content_en_" . $get('block_item_key') . "_" . uniqid())
162
                                             ->id(fn ($get) => "block_content_en_" . $get('block_item_key') . "_" . uniqid())