I want to show html content in a ion-textarea. Is there any way to do this?
Any help? Thanks!
<ion-item>
<ion-label stacked>Content</ion-label>
<ion-textarea type="text" rows="5" [(ngModel)]="mailModel.content"></ion-textarea>
</ion-item>
I using <div>
tag instead of <ion-textarea>
in ionic 2:
<div contenteditable="true" [innerHTML]="mailModel.Content" class="content-mail" id="content-mail"
</div>