Skip to content

Commit

Permalink
Prevent auto-translation within composer (#11114)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Jun 27, 2023
1 parent 83ee194 commit 22077c5
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 22077c5

Please sign in to comment.