You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-09 08:42:50 +03:00
Prevent auto-translation within composer (#11114)
Fixes: vector-im/element-web#25624
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
@@ -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 />
|
||||||
|
Reference in New Issue
Block a user