Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
mg
3mo ago
0 comments
Share
Contenteditable plus the CSS Custom Highlight API (which highlights ranges instead of elements) might indeed allow for a good solution. But I have not yet seen an editor that does that.
undefined | Better HN
0 comments
default
newest
oldest
hyperhello
3mo ago
I built a prototype that does work.
https://hypervariety.com/ScriptHighlighter/
j
/
k
navigate · click thread line to collapse