Skip to content

Commit

Permalink
ui: disable spellcheck on import/export textarea
Browse files Browse the repository at this point in the history
Signed-off-by: jarves <jarveson@gmail.com>
  • Loading branch information
jarveson committed Oct 5, 2023
1 parent 43fad3a commit 3b8d5d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/core/components/exporters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export abstract class Exporter extends BaseModal {
super(parent, 'exporter', { title: title, footer: true });

this.body.innerHTML = `
<textarea class="exporter-textarea form-control"></textarea>
<textarea spellCheck="false" class="exporter-textarea form-control"></textarea>
`;
this.footer!.innerHTML = `
<button class="exporter-button btn btn-primary clipboard-button me-2">
Expand Down
2 changes: 1 addition & 1 deletion ui/core/components/importers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export abstract class Importer extends BaseModal {

this.body.innerHTML = `
<div class="import-description"></div>
<textarea class="importer-textarea form-control"></textarea>
<textarea spellCheck="false" class="importer-textarea form-control"></textarea>
`;
this.footer!.innerHTML = `
${this.includeFile ? `
Expand Down

0 comments on commit 3b8d5d9

Please sign in to comment.