mercredi 1 janvier 2020

How to display saved contenteditable contents properly? (laravel)

I have done saved the contents inside the #descrition below.

<div id="description" contenteditable="true"></div>

My problem is when I try to display it does not display like an html format, it displays same like the saved data with <h1></h1> & <br>. It displays plain text only.

<div id="description" contenteditable="true"></div>

The content I saved in my database & display:
<h1>Descriptoin</h1> Doner, where I built and maintained banner adverts and microsites. <br> And...

Someone know how to display this properly?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire