*/ public function rules(): array { return [ 'formmail' => 'array', ]; } public function handle(ActionRequest $request): void { $settings = app(PreventionSettings::class); $settings->formmail = EditorData::from($request->formmail); $settings->save(); Succeeded::message('Einstellungen gespeichert.')->dispatch(); } }