Skip to content

Commit

Permalink
fix: disable spellcheck in textareas
Browse files Browse the repository at this point in the history
  • Loading branch information
iorate committed Dec 14, 2021
1 parent ab6c296 commit 4242987
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/scripts/block-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const BlockDialogContent: React.VFC<BlockDialogContentProps> = ({
id="pageTitle"
readOnly
rows={2}
spellCheck={false}
spellCheck="false"
value={title ?? ''}
/>
</RowItem>
Expand All @@ -199,7 +199,7 @@ const BlockDialogContent: React.VFC<BlockDialogContentProps> = ({
disabled={state.disabled}
id="rulesToAdd"
rows={2}
spellCheck={false}
spellCheck="false"
value={state.rulesToAdd}
onChange={e => {
const rulesToAdd = e.currentTarget.value;
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/options/general-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const ImportBlacklistDialog: React.VFC<
<TextArea
aria-label={translate('options_importBlacklistDialog_pbLabel')}
rows={5}
spellCheck={false}
spellCheck="false"
value={state.pb}
wrap="off"
onChange={e => setState(s => ({ ...s, pb: e.currentTarget.value }))}
Expand Down Expand Up @@ -225,7 +225,7 @@ const SetBlacklist: FunctionComponent = () => {
<TextArea
id="blacklist"
rows={10}
spellCheck={false}
spellCheck="false"
value={blacklist}
wrap="off"
onChange={e => {
Expand Down

0 comments on commit 4242987

Please sign in to comment.