Prevent auto-translation within composer (#11114)

Fixes: vector-im/element-web#25624
This commit is contained in:
Johannes Marbach 2023-06-27 10:48:32 +02:00 committed by GitHub
parent 83ee1946ea
commit 22077c5433
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -850,6 +850,7 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
dir="auto" dir="auto"
aria-disabled={this.props.disabled} aria-disabled={this.props.disabled}
data-testid="basicmessagecomposer" data-testid="basicmessagecomposer"
translate="no"
/> />
</div> </div>
); );

View file

@ -505,6 +505,7 @@ exports[`RoomView for a local room in state NEW should match the snapshot 1`] =
role="textbox" role="textbox"
style="--placeholder: 'Send a message…';" style="--placeholder: 'Send a message…';"
tabindex="0" tabindex="0"
translate="no"
> >
<div> <div>
<br /> <br />
@ -768,6 +769,7 @@ exports[`RoomView for a local room in state NEW that is encrypted should match t
role="textbox" role="textbox"
style="--placeholder: 'Send a message…';" style="--placeholder: 'Send a message…';"
tabindex="0" tabindex="0"
translate="no"
> >
<div> <div>
<br /> <br />