How to get/set HTML content from ion-textarea

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>

What does that mean exactly? Please define.

I want to show html content in a ion-textarea. Is there any way to do this? Thanks

Hi. I did a quick vid on a simple rich text editor a while back.
Not sure if that can help with this.

1 Like