Fix change detection for Tiny MCE

This commit is contained in:
Joshua Sangmeister 2020-06-09 13:14:05 +02:00
parent c4f482b70c
commit bf35c55956

View File

@ -721,7 +721,7 @@
<!-- The HTML Editor for motions and traditional amendments -->
<ng-container *ngIf="motion && editMotion && !motion.isParagraphBasedAmendment()">
<editor formControlName="text" [init]="tinyMceSettings" (onChange)="detectChanges()" required></editor>
<editor formControlName="text" [init]="tinyMceSettings" (ngModelChange)="detectChanges()" required></editor>
<div
*ngIf="
contentForm.get('text').invalid &&