Sounds interesting, but what is the goal of it? Just to highlight text?
Any thoughts on how to best implement highlights for editable text?


There is quite a bit of prior work on this for "scroll to text highlight" in browsers.


Good discussion around it all here: https://github.com/mozilla/standards-positions/issues/194
Discussion
Swarm highlights
https://dergigi.com/2023/04/04/purple-text-orange-highlights/