mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
Prevent auto-translation within composer (#11114)
Fixes: vector-im/element-web#25624
This commit is contained in:
parent
83ee1946ea
commit
22077c5433
2 changed files with 3 additions and 0 deletions
|
@ -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 />
|
||||||
|
|
Loading…
Reference in a new issue