Disable spellcheck to remove red squiggles.

This commit is contained in:
Tom Alexander
2024-01-28 19:11:07 -05:00
parent ff3618b67d
commit 43d65b4fe3

View File

@@ -42,6 +42,7 @@ function Editor({
className={styles.EditorTextArea} className={styles.EditorTextArea}
value={value} value={value}
onScroll={onTextAreaScroll} onScroll={onTextAreaScroll}
spellCheck={false}
/> />
<div ref={shadowRef} className={styles.EditorUnderlay}> <div ref={shadowRef} className={styles.EditorUnderlay}>
{buildShadow(highlights, value)} {buildShadow(highlights, value)}