First, add this ( selectable ) class in your app.scss file. For specific page include in your page.scss file.



.selectable {



-webkit-user-select: text;



-moz-user-select: text;



-ms-user-select: text;



user-select: text;



}





After this please add “selectable” class to individual elements in the app or to ionic elements using the ngClass/class attribute.



Eg :



<ion-card-content ngClass=”selectable”>



<p [innerHTML]=”item.body”></p>



</ion-card-content>







Other Eg :



<ion-content padding ngClass=”selectable”>



This will allow your users to select and copy text from within your Ionic 2, Ionic 3, Ionic 4 app.





