RichEditor with SpatieMediaLibrary use withResponsiveImages()

Any chance to do something like this for the RichEditor?
public function setUpRichContent(): void
{
$this->registerRichContent('content')
->fileAttachmentsProvider(
SpatieMediaLibraryFileAttachmentProvider::make()
->withResponsiveImages()
);
}
public function setUpRichContent(): void
{
$this->registerRichContent('content')
->fileAttachmentsProvider(
SpatieMediaLibraryFileAttachmentProvider::make()
->withResponsiveImages()
);
}
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?