Skip to content

Releases: CFGPeter/local-proofreader

v0.3.0 — chunking, ignore list, fix-all, dark mode

23 Apr 04:57

Choose a tag to compare

Audit-driven release.

Bug fixes

  • extractEditable now skips display:none / visibility:hidden content so hidden text doesn't corrupt offsets sent to the model.
  • Word popup flips above the marker when there's no room below.
  • Markers get role="button" and aria-label for screen readers.
  • Removed dead focusout handler, redundant title attribute, stale console.log calls.
  • Dark-mode aware popup via prefers-color-scheme.

New features

  • Paragraph-level chunking. Long fields (>2000 chars) used to be silently skipped; now we split by blank line and proofread each paragraph independently, merging corrections back together. Fixes the "post too long" cliff and improves quality on multi-paragraph drafts.
  • Persistent per-host ignore list. Clicking Ignore now writes the word to chrome.storage.sync keyed by hostname; future suggestions for that word on the same site are filtered out.
  • Fix all (N) button when 2+ corrections exist; applies in reverse offset order with a fresh charMap extraction between each so rich editors stay correct.
  • Pulsing blue dot near the active field while a check is in flight.
  • AbortController on proofread() so superseded calls don't waste CPU.

Performance

  • repositionMarkers wrapped in requestAnimationFrame to coalesce scroll-event spam.

Install

Download local-proofreader.zip below, unzip, and follow INSTALL.txt.