Trying to display comments near appropriate doc range in Vue component
问题 I am attempting to emulate Medium style comments in an html document. This answer has gotten me nearly there: How to implement Medium-style commenting interface in VueJS With that method, I can highlight text and make comments, but I want to display the coments on the same line as the range the commenter selected. The code as I have treats every paragraph it seems as a separate document, such that I don't know how to return to the correct paragraph to find the original range being commented