ui: disable spellcheck for pertest (#629) (#630)

This commit is contained in:
panda authored and GitHub committed 2023-07-27 14:37:59 +08:00
1 parent 89b294c60e
commit f45a509c05
5 files changed
+8 -3

No files matched your search

@@ -16,6 +16,7 @@ export default function DataInputComponent(props) {
className="scratchpad__data-input"
style={{ overflowY: 'scroll' }}
wrap="off"
spellCheck="false"
>
{/* eslint-disable-next-line react/no-danger */}
<pre dangerouslySetInnerHTML={{ __html: value }} contentEditable />
@@ -24,6 +25,7 @@ export default function DataInputComponent(props) {
<textarea
className="scratchpad__data-input"
wrap="off"
spellCheck="false"
value={value}
onChange={(ev) => {
ev.stopPropagation();