F
Filamentβ€’2y ago
_nkevin

I have a problem with richeditor

I'm trying to print the content inside a rich editor on a front-end page with fabricator, but all the bolds, newlines, etc. that I put, put them as html tags in the front in writing
7 Replies
Dan Harrin
Dan Harrinβ€’2y ago
{!! $variable !!}
toeknee
toekneeβ€’2y ago
Note, you should ensure you trust who is inputting text into the rich editor when rendering html
_nkevin
_nkevinOPβ€’2y ago
it works, thanks a lot! out of curiosity, where was this written in the doc?
toeknee
toekneeβ€’2y ago
It's not needed to be written since it's a native Laravel function, you are supposed to know Laravel before using Filament πŸ˜‰
_nkevin
_nkevinOPβ€’2y ago
Ok thanks
Dan Harrin
Dan Harrinβ€’2y ago
check the blade docs for laravel make sure you understand the implications
_nkevin
_nkevinOPβ€’2y ago
Yes, I'll do it now! A thousand thanks
Want results from more Discord servers?
Add your server