Using Torchlight in Action with custom modal content

In my project I'm using Torchlight.dev. When using this on a Filament page it works perfectly. But when I want to use it in a action with custom modal content it is not rendered.

The problem is also described in the docs of torchlight: https://torchlight.dev/docs/clients/laravel#un-rendered-blocks. I obviously registered the middleware, since it is working on the pages. But how can I make it work inside the action?

Filament v3 (v3.0.39)

Tables\Actions\Action::make('embed') ->label(__('Integration Code')) ->button() ->outlined() ->modalSubmitAction(false) ->icon('heroicon-o-code-bracket') ->slideOver() ->modalContent(fn(): View => view('filament.site.pages.flow-embed-info-page')),
Was this page helpful?