I am aware that HTML
can be retrieved using [(ngModel)]="htmlContent"
, but is it possible to get just the text? Thanks.
Example:
This text is bold. This is italics
html content: <b>This text is bold</b>
.<i>This is italics</i>
text content: This text is bold. This is italics