CSS cannot target a character inside a text node, so the marks are now wrapped in their own .ab-q element at render time and hidden with a single class on body. Toggling is instant regardless of segment count, and the stored text is never modified. Also fixes the toggle looking inert on a freshly cast book: it previously only added missing marks and never hid the ones the book already carried. Button moved bottom-right as a larger labelled pill, clear of the search controls. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| main.min.js | ||