This commit is contained in:
tiago.kayaya
2021-04-08 09:14:28 +01:00
parent 8a4f296f96
commit a87fd0b6ed
9 changed files with 124 additions and 30 deletions
@@ -39,14 +39,15 @@ export class EditEventComponent implements OnInit {
private modalController: ModalController,
private eventsService: EventsService,
public alertController: AlertController,
) {
)
{
}
ngOnInit() {
let innerHtml :string = this.postEvent.Body.Text;
this.postEvent.Body.Text = innerHtml;
if(this.postEvent){
this.postEvent.Body.Text = this.postEvent.Body.Text.replace(/<[^>]+>/g, '');
}
console.log(this.postEvent);
this.isEventEdited = false;