Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Prevent auto-translation within composer
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Jun 19, 2023
1 parent a491795 commit a0ab467
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/views/rooms/BasicMessageComposer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,7 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
dir="auto"
aria-disabled={this.props.disabled}
data-testid="basicmessagecomposer"
translate="no"
/>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ exports[`RoomView for a local room in state NEW should match the snapshot 1`] =
role="textbox"
style="--placeholder: 'Send a message…';"
tabindex="0"
translate="no"
>
<div>
<br />
Expand Down Expand Up @@ -768,6 +769,7 @@ exports[`RoomView for a local room in state NEW that is encrypted should match t
role="textbox"
style="--placeholder: 'Send a message…';"
tabindex="0"
translate="no"
>
<div>
<br />
Expand Down

0 comments on commit a0ab467

Please sign in to comment.