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 Harrin2y ago
{!! $variable !!}
toeknee
toeknee2y ago
Note, you should ensure you trust who is inputting text into the rich editor when rendering html
_nkevin
_nkevinOP2y ago
it works, thanks a lot! out of curiosity, where was this written in the doc?
toeknee
toeknee2y 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
_nkevinOP2y ago
Ok thanks
Dan Harrin
Dan Harrin2y ago
check the blade docs for laravel make sure you understand the implications
_nkevin
_nkevinOP2y ago
Yes, I'll do it now! A thousand thanks

Did you find this page helpful?