Is there a way to show html images inside an infolist?

In the Rich Text Editor you can add images, is there a way to display those images when viewing the record with an infolist? I tried the ->html() method, but the image does not show up, or maybe I've done something wrong? The infolist item is as follows:
TextEntry::make('description')
->label(__('Description'))
->color('primary')
->html()
->columnSpan([
'sm' => 2,
]),
TextEntry::make('description')
->label(__('Description'))
->color('primary')
->html()
->columnSpan([
'sm' => 2,
]),
Suggestions and help would be greatly appreciated!
4 Replies
krekas
krekas8mo ago
What is a html image?
awcodes
awcodes8mo ago
Try ->prose() instead of ->html()
Steve_OH
Steve_OHOP8mo ago
The rich text editor created a HTML string. To view said string you typically need ->html(). In my case, you can attach images inside of the rich text editor and I’d like to show them. I’ll give it a shot and let you know if it resolved it. Thank you
Want results from more Discord servers?
Add your server