Custom header widget with HTML
Hello,
I would like to put some Html (come from blade file.) into a widget. I found the getHeading but it seams to be escape ...
Thx in advance
I would like to put some Html (come from blade file.) into a widget. I found the getHeading but it seams to be escape ...
Thx in advance
Solution
Where do you want to put that HTML? Every widget has it's own view file so you can override it there. For
getHeading() you need to return HtmlString otherwise it's treated as non-html