diff --git a/src/app/components/project-map/drawings-editors/text-editor/text-editor.component.ts b/src/app/components/project-map/drawings-editors/text-editor/text-editor.component.ts index 4027a6bb..53b5c0dc 100644 --- a/src/app/components/project-map/drawings-editors/text-editor/text-editor.component.ts +++ b/src/app/components/project-map/drawings-editors/text-editor/text-editor.component.ts @@ -26,7 +26,7 @@ import { RotationValidator } from '../../../../validators/rotation-validator'; styleUrls: ['./text-editor.component.scss'] }) export class TextEditorDialogComponent implements OnInit { - @ViewChild('textArea', {static: false}) textArea: ElementRef; + @ViewChild('textArea', {static: true}) textArea: ElementRef; server: Server; project: Project;