Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Pulling through HTML tags onto page #24

Closed
DCReddish97 opened this issue Jul 10, 2019 · 1 comment
Closed

Pulling through HTML tags onto page #24

DCReddish97 opened this issue Jul 10, 2019 · 1 comment

Comments

@DCReddish97
Copy link

DCReddish97 commented Jul 10, 2019

I've installed this to use on my page content management section within Laravel Nova.

In nova the actual field appear to work fine, but when I pull the inputted content through to the front end of my site it pulls through the html tags with it (e.g p tags, li tags, ul tags, etc).

Am I missing something?
Thanks

@slavarazum
Copy link
Collaborator

How do you inject your WYSIWYG content? Probably you have escaped it. You should display it unescaped with {!! $model->content !!}}
Check out documentation - https://laravel.com/docs/master/blade

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants