From 56033a1c295a8323eb91e6824448fd6574404365 Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Thu, 11 Nov 2021 19:03:42 +0100 Subject: [PATCH] [editor] Fix edit dialog for text area Now correctly uses the multiline dialog. --- projects/editor/src/app/unit.service.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/projects/editor/src/app/unit.service.ts b/projects/editor/src/app/unit.service.ts index 3c10d2798..3c846c783 100644 --- a/projects/editor/src/app/unit.service.ts +++ b/projects/editor/src/app/unit.service.ts @@ -351,11 +351,12 @@ export class UnitService { }); break; case 'text-area': - this.dialogService.showTextEditDialog((element as InputElement).value as string).subscribe((result: string) => { - if (result) { - this.updateElementProperty([element], 'value', result); - } - }); + this.dialogService.showMultilineTextEditDialog((element as InputElement).value as string) + .subscribe((result: string) => { + if (result) { + this.updateElementProperty([element], 'value', result); + } + }); break; case 'audio': case 'video': -- GitLab