How to get/set HTML content from ion-textarea


#1

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>

#2

What does that mean exactly? Please define.


#3

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


#4

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