News for hackers. Stuff that matters.
Re:Ask HN: Help me pick a front-end framework by lucas_codes on Sunday September 11, 2022 @09:09AM (#32799310)
I'd agree with all these, but if I understood correctly OP wants to annotate static text rather than edit.

OP this is an interesting and rather niche area, you will want to be making use of the selection API[0] and figuring out a good way to make it reactive to integrate with react and your data model.

[0]: https://developer.mozilla.org/en-US/docs/Web/API/Selection

Re:Ask HN: Help me pick a front-end framework by chaos_emergent on Sunday September 11, 2022 @10:05AM (#32799717)
Ah, good point, TipTap may be overkill if OP doesn’t want to edit it at all.