richeditor is not rendering html

RichEditor::make('product_benefits_html')
->label('Produktvorteile' . $model->product_benefits_html))
->hintIcon('heroicon-o-question-mark-circle')
->hintIconTooltip('Gebe hier Vorteile des Produktes an, die im Checkout angezeigt werden, wenn Nutzer weitere Details anzeigen lassen.')
->toolbarButtons(self::getToolbarButtons())->columnSpan(2),
RichEditor::make('product_benefits_html')
->label('Produktvorteile' . $model->product_benefits_html))
->hintIcon('heroicon-o-question-mark-circle')
->hintIconTooltip('Gebe hier Vorteile des Produktes an, die im Checkout angezeigt werden, wenn Nutzer weitere Details anzeigen lassen.')
->toolbarButtons(self::getToolbarButtons())->columnSpan(2),
No description
Solution:
Can you unpublish the views, there were a few issues with the rich editor recently in the view.
Jump to solution
12 Replies
Iven S. | LvckyWorldᶜʳᵉʷ
data is there,but it is no rendered
LeandroFerreira
LeandroFerreira8mo ago
Console errors? php artisan about --only=Filament What is the Filament version?
Iven S. | LvckyWorldᶜʳᵉʷ

tools/php artisan about --only=Filament

Filament .........................................................................................................................................
Packages ......................................................................................... filament, forms, notifications, support, tables
Version .................................................................................................................................. v3.2.81
Views ......................................................................................................... PUBLISHED: filament, notifications

tools/php artisan about --only=Filament

Filament .........................................................................................................................................
Packages ......................................................................................... filament, forms, notifications, support, tables
Version .................................................................................................................................. v3.2.81
Views ......................................................................................................... PUBLISHED: filament, notifications
toeknee
toeknee8mo ago
You have filament views published by the looks of it.... Why? This is highly ill-advised.
Dennis Koch
Dennis Koch8mo ago
That not the rich text but only the label, right? You didn’t tell it to be HTML. You need to wrap it in new HtmlString()
Iven S. | LvckyWorldᶜʳᵉʷ
it should be set as content i just printed it into the label, to see, if the column can be read and have content
toeknee
toeknee8mo ago
->label(new HtmlString('Produktvorteile' . $model->product_benefits_html)))
->label(new HtmlString('Produktvorteile' . $model->product_benefits_html)))
Solution
toeknee
toeknee8mo ago
Can you unpublish the views, there were a few issues with the rich editor recently in the view.
Iven S. | LvckyWorldᶜʳᵉʷ
yes, it works after undo the publish
No description
Iven S. | LvckyWorldᶜʳᵉʷ
thank you
toeknee
toeknee8mo ago
never publish filament views unless you absolutely have too.
Want results from more Discord servers?
Add your server