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 d9d5387 commit 44daf14
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 @@ -832,6 +832,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 @@ -502,6 +502,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 @@ -764,6 +765,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 44daf14

Please sign in to comment.