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

Prevent auto-translation within composer #11114

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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