display or show image in infolist usin richeditor and view

Hey guys, i have a form with Richeditor like this:

 Forms\Components\RichEditor::make('diet')
    ->label(__('Dieta de alimentos'))
    ->required(),
 Forms\Components\RichEditor::make('aggregates')
    ->label(__('Agregados de la dieta'))
    ->required(),


in my inforlist view i have this code:

->schema([
TextEntry::make('diet')
           ->html()
           ->label('Descripción de las comidas'),
TextEntry::make('aggregates')
           ->markdown()
           ->label('Detalles y agregados'),
])->columns(2),


i try with ->markdown() and ->html() but the image is only text with a href
image.png
image.png
image.png
Was this page helpful?