\App\Models\BlogPost::class, 'category_model' => \App\Models\BlogCategory::class, 'tag_model' => \App\Models\BlogTag::class, 'panels' => [ 'superadmin' => [ 'resources' => [ \App\Filament\Blog\Resources\PostResource::class, \App\Filament\Blog\Resources\CategoryResource::class, ], ], ], /** * Supported content editors: richtext & markdown: * \Filament\Forms\Components\RichEditor::class * \Filament\Forms\Components\MarkdownEditor::class */ 'editor' => \Filament\Forms\Components\MarkdownEditor::class, /** * Configs for Posts banner file that give you option to change * Disk,Directory name , maximum upload size and the * Crop aspect ratio of the Posts banner image. */ 'banner' => [ 'disk' => 'public', 'directory' => 'blog', 'maxSize' => 5120, 'cropAspectRatio' => '16:9', 'visibility' => 'public', ], /** * Configs for Posts that give you option to change * the sort column and direction of the Posts. */ 'sort' => [ 'column' => 'published_at', 'direction' => 'desc', ], /** * Configs for Author Avatar file that give you option to change * Disk,Directory name , maximum upload size and the * Of the Author avatar image. */ 'avatar' => [ 'disk' => 'public', 'directory' => 'blog', 'maxSize' => 5120, 'visibility' => 'public', ], /** * Buttons for text editor toolbar. */ 'toolbar_buttons' => [ 'attachFiles', 'blockquote', 'bold', 'bulletList', 'codeBlock', 'h1', 'h2', 'h3', // 'hr', // 'image', 'italic', 'link', 'orderedList', 'redo', 'strike', 'table', 'underline', 'undo', ], ];