From 3c27952d020dbb438ec7c9702bd7c8c4eaadc120 Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Thu, 14 May 2020 13:22:21 +0200 Subject: [PATCH] Fix ace editor config on a sub-paths (#5120) --- src/app/frontend/common/components/textinput/component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/frontend/common/components/textinput/component.ts b/src/app/frontend/common/components/textinput/component.ts index 87beee3cb..f86273b4a 100644 --- a/src/app/frontend/common/components/textinput/component.ts +++ b/src/app/frontend/common/components/textinput/component.ts @@ -100,7 +100,7 @@ export class TextInputComponent implements OnInit, AfterViewInit, OnChanges { } private initEditor_(): void { - config.set('basePath', '/ace'); + config.set('basePath', 'ace'); this.editor = edit(this.editorRef.nativeElement); this.prettify_(); -- GitLab