<app-common-dialog [dialogContent]="dialogContent" [dialogRef]="dialogRef" unlimitedWidth>
  <ng-template #dialogContent>
    <form [formGroup]="addTicketNoteForm" layoutDirection="column">
      <app-form-errors #formErrors [formGroup]="addTicketNoteForm" [maxWidth]="'300px'"></app-form-errors>
      <div class="fl-tinymce-placeholder add-note-txt-placeholder">
        <editor [init]="tinyMCEOptions" formControlName="note_text"
                (onKeyDown)="handleTinyKeyDown($event)" [licenseKey]="'gpl'"></editor>
      </div>
      <mat-error>{{backendErrors['note_text']}}</mat-error>
    </form>
  </ng-template>
</app-common-dialog>
