Smurfetka
Smurfetka
FFilament
Created by Smurfetka on 11/30/2023 in #❓┊help
tiny multi language Error
No description
2 replies
FFilament
Created by Smurfetka on 11/3/2023 in #❓┊help
Images won't load
I'm trying to load an image
Forms\Components\RichEditor::make('content')


->fileAttachmentsDisk('public')

->fileAttachmentsDirectory('posts')

->columnSpan(2),
Forms\Components\RichEditor::make('content')


->fileAttachmentsDisk('public')

->fileAttachmentsDirectory('posts')

->columnSpan(2),
It shows that it has loaded on the site. But it does not download to the folder along the path \public\posts. I also tried this code
Forms\Components\FileUpload::make('cover')
->label('Cover Image')
->image()
->directory('posts'),
Forms\Components\FileUpload::make('cover')
->label('Cover Image')
->image()
->directory('posts'),
filesystems.php
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
'throw' => false,
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
'throw' => false,
],
2 replies
FFilament
Created by Smurfetka on 11/2/2023 in #❓┊help
how to add a class to the RichEditor
How to add a class to the RichEditor tag <p> example
<p class="one">asdfadf<p>
<p class="one">asdfadf<p>
And if possible, be able to choose which class to apply
6 replies