4 ms·
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
by lucas_codes 4y ago
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 https://developer.mozilla.org/en-US/docs/Web/API/Selection
- chaos_emergent 4y agoAh, good point, TipTap may be overkill if OP doesn’t want to edit it at all.