fix: editor renders standalone committed deletions neutral; doc/comment cleanups (final review)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
BenStullsBets
2026-06-26 18:10:25 -07:00
parent 02fbe9c77e
commit c3cecdfaa2
3 changed files with 39 additions and 18 deletions
+1 -1
View File
@@ -720,7 +720,7 @@ const ALL_SENTINELS = new RegExp(
);
/**
* #33: token-aware replacement of the rendered author sentinels with `cw-by-*`
* #33: token-aware replacement of the rendered author sentinels with `cw-ins-*`
* spans. A naive global string-replace (the old approach) could emit a span that
* CROSSES an element boundary — `<span><strong>bo</span>ld</strong>` — when a
* boundary fell inside an emphasis run (CASE3). This walks the rendered HTML and