diff --git a/src/components/ha-yaml-editor.ts b/src/components/ha-yaml-editor.ts index 4e1a4e5853..03fa830724 100644 --- a/src/components/ha-yaml-editor.ts +++ b/src/components/ha-yaml-editor.ts @@ -60,6 +60,7 @@ export class HaYamlEditor extends LitElement { mode="yaml" .error=${this.isValid === false} @value-changed=${this._onChange} + dir="ltr" > `; } diff --git a/src/components/trace/ha-trace-blueprint-config.ts b/src/components/trace/ha-trace-blueprint-config.ts index 64e4bbc810..ec2a0e5440 100644 --- a/src/components/trace/ha-trace-blueprint-config.ts +++ b/src/components/trace/ha-trace-blueprint-config.ts @@ -17,6 +17,7 @@ export class HaTraceBlueprintConfig extends LitElement { `; } diff --git a/src/components/trace/ha-trace-config.ts b/src/components/trace/ha-trace-config.ts index 237a051110..64b71f78cd 100644 --- a/src/components/trace/ha-trace-config.ts +++ b/src/components/trace/ha-trace-config.ts @@ -17,6 +17,7 @@ export class HaTraceConfig extends LitElement { `; } diff --git a/src/components/trace/ha-trace-path-details.ts b/src/components/trace/ha-trace-path-details.ts index 5f1e8c56c5..b27ead74a0 100644 --- a/src/components/trace/ha-trace-path-details.ts +++ b/src/components/trace/ha-trace-path-details.ts @@ -150,6 +150,7 @@ export class HaTracePathDetails extends LitElement { ? html`` : "Unable to find config"; } diff --git a/src/panels/config/integrations/integration-panels/mqtt/mqtt-config-panel.ts b/src/panels/config/integrations/integration-panels/mqtt/mqtt-config-panel.ts index 0b187dddcd..11925e2158 100644 --- a/src/panels/config/integrations/integration-panels/mqtt/mqtt-config-panel.ts +++ b/src/panels/config/integrations/integration-panels/mqtt/mqtt-config-panel.ts @@ -61,6 +61,7 @@ class HaPanelDevMqtt extends LitElement { mode="jinja2" .value=${this.payload} @value-changed=${this._handlePayload} + dir="ltr" >
diff --git a/src/panels/config/integrations/integration-panels/zha/dialog-zha-device-zigbee-info.ts b/src/panels/config/integrations/integration-panels/zha/dialog-zha-device-zigbee-info.ts index 0a0c6d9959..1b03053b52 100644 --- a/src/panels/config/integrations/integration-panels/zha/dialog-zha-device-zigbee-info.ts +++ b/src/panels/config/integrations/integration-panels/zha/dialog-zha-device-zigbee-info.ts @@ -42,7 +42,12 @@ class DialogZHADeviceZigbeeInfo extends LitElement { this.hass.localize(`ui.dialogs.zha_device_info.device_signature`) )} > - + `; diff --git a/src/panels/developer-tools/event/developer-tools-event.js b/src/panels/developer-tools/event/developer-tools-event.js index 399c2be3d9..fcdb204da9 100644 --- a/src/panels/developer-tools/event/developer-tools-event.js +++ b/src/panels/developer-tools/event/developer-tools-event.js @@ -94,6 +94,7 @@ class HaPanelDevEvent extends EventsMixin(LocalizeMixin(PolymerElement)) { value="[[eventData]]" error="[[!validJSON]]" on-value-changed="_yamlChanged" + dir="ltr" >
${this.hass.localize( diff --git a/src/panels/lovelace/editor/hui-element-editor.ts b/src/panels/lovelace/editor/hui-element-editor.ts index 3fa6aa3d87..88996fa23f 100644 --- a/src/panels/lovelace/editor/hui-element-editor.ts +++ b/src/panels/lovelace/editor/hui-element-editor.ts @@ -11,7 +11,6 @@ import { import { property, state, query } from "lit/decorators"; import { fireEvent } from "../../../common/dom/fire_event"; import { handleStructError } from "../../../common/structs/handle-errors"; -import { computeRTL } from "../../../common/util/compute_rtl"; import { deepEqual } from "../../../common/util/deep-equal"; import "../../../components/ha-circular-progress"; import "../../../components/ha-code-editor"; @@ -200,9 +199,9 @@ export abstract class HuiElementEditor extends LitElement { autofocus .value=${this.yaml} .error=${Boolean(this._errors)} - .rtl=${computeRTL(this.hass)} @value-changed=${this._handleYAMLChanged} @keydown=${this._ignoreKeydown} + dir="ltr" >
`} diff --git a/src/panels/lovelace/hui-editor.ts b/src/panels/lovelace/hui-editor.ts index 387ba143dd..b3daf26350 100644 --- a/src/panels/lovelace/hui-editor.ts +++ b/src/panels/lovelace/hui-editor.ts @@ -15,7 +15,6 @@ import { import { customElement, property, state } from "lit/decorators"; import { classMap } from "lit/directives/class-map"; import { array, assert, object, optional, string, type } from "superstruct"; -import { computeRTL } from "../../common/util/compute_rtl"; import { deepEqual } from "../../common/util/deep-equal"; import "../../components/ha-circular-progress"; import "../../components/ha-code-editor"; @@ -92,10 +91,10 @@ class LovelaceFullConfigEditor extends LitElement {