feat: hook up validators with input fields

This commit is contained in:
tdgao
2026-08-24 16:07:11 -06:00
parent 1ec4c6cef8
commit a23df8a355
12 changed files with 156 additions and 23 deletions
@@ -499,7 +499,7 @@ function findAt(root: TrieNode, text: string, start: number): ProfanityMatch | u
const matchesNegative = current.negatives.some((negative) =>
negativeMatches(negative, text, start, end),
)
if (matchesNegative && current.children.size === 0) return undefined
if (matchesNegative) continue
return {
kind: current.terminal.kind,