write/frontend
chris 91071270a4 Auto-check after every word; disable browser spellcheck
- spellCheck={false} on EditorContent — LanguageTool's wavy marks
  take over entirely, no double-squiggle confusion
- onUpdate schedules runLint() 1.5 s after the last keystroke via
  lintDebounce ref; typing resets the timer so it only fires when
  the writer pauses (naturally after finishing a word or sentence)
- runLintRef kept in sync with useEffect so the stale onUpdate
  closure always calls the latest runLint
- Timer cleaned up on unmount

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 21:48:47 -04:00
..