Merge pull request #5402 from jsangmeister/fix-tiny-mce

Fix change detection for Tiny MCE
This commit is contained in:
Emanuel Schütze 2020-06-09 20:56:29 +02:00 committed by GitHub
commit 4673c741e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -721,7 +721,7 @@
<!-- The HTML Editor for motions and traditional amendments --> <!-- The HTML Editor for motions and traditional amendments -->
<ng-container *ngIf="motion && editMotion && !motion.isParagraphBasedAmendment()"> <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 <div
*ngIf=" *ngIf="
contentForm.get('text').invalid && contentForm.get('text').invalid &&