I’m trying to create an app that works like Genius.com, formerly known as RapGenius. It is a service that let users add annotation to songs lyrics in order to provide explanations for them. (example of a Genius.com song page)
On Genius, users select some text, then a pop-up suggest them to write an annotation. Once they publish their annotation, the text they selected become clickable, and if you click on it, you’ll see the said annotation on the right side of the text.
Using the Text Selection plugin, I managed to create a pop-up that ask the user what is his annotation. But then I am stuck at:
- Adding, on the side of the text, at the level of the annotated sentence, a container with the annotation
How could I do?