From d430862f00f04e0831bcb4b3e188aad0fd8c45d1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 19 Jul 2023 11:03:40 +0200 Subject: Force ltr on code inputs --- .../edit-custom-config/edit-advanced-configuration.component.html | 4 ++-- .../app/+admin/config/edit-custom-config/edit-homepage.component.html | 1 + client/src/app/shared/shared-forms/markdown-textarea.component.html | 2 +- client/src/app/shared/shared-forms/markdown-textarea.component.ts | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/src/app/+admin/config/edit-custom-config/edit-advanced-configuration.component.html b/client/src/app/+admin/config/edit-custom-config/edit-advanced-configuration.component.html index 9701e7f85..20cbcec02 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-advanced-configuration.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-advanced-configuration.component.html @@ -94,7 +94,7 @@ @@ -124,7 +124,7 @@ color: red;
{{ formErrors.instance.customizations.css }}
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-homepage.component.html b/client/src/app/+admin/config/edit-custom-config/edit-homepage.component.html index fd009367f..91f3afd10 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-homepage.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-homepage.component.html @@ -19,6 +19,7 @@ name="instanceCustomHomepageContent" formControlName="content" [customMarkdownRenderer]="getCustomMarkdownRenderer()" [debounceTime]="500" [formError]="formErrors['instanceCustomHomepage.content']" + dir="ltr" >
{{ formErrors.instanceCustomHomepage.content }}
diff --git a/client/src/app/shared/shared-forms/markdown-textarea.component.html b/client/src/app/shared/shared-forms/markdown-textarea.component.html index 5d355a6d8..63dcdc597 100644 --- a/client/src/app/shared/shared-forms/markdown-textarea.component.html +++ b/client/src/app/shared/shared-forms/markdown-textarea.component.html @@ -4,7 +4,7 @@ [(ngModel)]="content" (ngModelChange)="onModelChange()" class="form-control" [ngClass]="{ 'input-error': formError }" [attr.disabled]="disabled || null" - [id]="name" [name]="name"> + [id]="name" [name]="name" [dir]="dir">