mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
Security: disable spellcheck everywhere by default due to Chrome/Edge sending data you enter to their servers.
This commit is contained in:
parent
9ed52fd070
commit
e35fbea415
24 changed files with 97 additions and 100 deletions
|
|
@ -18,7 +18,7 @@ export class EmailAddressesComponent {
|
|||
|
||||
const self = this,
|
||||
input = createElement('input',{type:"text", list:datalist.id,
|
||||
autocomplete:"off", autocorrect:"off", autocapitalize:"off", spellcheck:"false"}),
|
||||
autocomplete:"off", autocorrect:"off", autocapitalize:"off"}),
|
||||
// In Chrome we have no access to dataTransfer.getData unless it's the 'drop' event
|
||||
// In Chrome Mobile dataTransfer.types.includes(contentType) fails, only text/plain is set
|
||||
validDropzone = () => dragAddress?.li.parentNode !== self.ul,
|
||||
|
|
|
|||
|
|
@ -8,6 +8,5 @@ export class TextAreaComponent extends AbstractInput {
|
|||
super(params);
|
||||
|
||||
this.rows = params.rows || 5;
|
||||
this.spellcheck = !!params.spellcheck;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue