Jospeh
Jospeh
FFilament
Created by Jospeh on 10/11/2024 in #❓┊help
XSS Protection with "amidesfahani/filament-tinyeditor" in Laravel Filament V3
I am just learning. Can you give an example of this? How could I do it?
7 replies
FFilament
Created by Jospeh on 10/11/2024 in #❓┊help
XSS Protection with "amidesfahani/filament-tinyeditor" in Laravel Filament V3
TinyEditor::make('description') ->label('Content') ->extraInputAttributes(['style' => 'height: 500px;']) ->required() ->afterStateUpdated(function ($state, callable $set) { return Purifier::clean($state); }), Is this approach correct?
7 replies