Hi Everyone
I’ve been trying to implement a highlight selection feature like Medium.
As you know, in Medium when we select the line, there’s a popup and we can highlight the selection.
Is there any feature like this or is there anyway to easily coordinate this feature?
I guess you are after technology like: Selection API
You would have to nut out the full requirement - e.g.
you only want this for logged-in members?
each member would be able to manage their own highlights ( e.g. delete) - needs a UI?
can anyone see highlights from other members?
are one-word highlights actually tags?
you would have to figure out how / where to persist / store each members highlight details
what happens when an article is amended - does the highlight just store the position, or does it save part/all of the text?
etc etc
Would you build this as a separate service that a user can apply on any website? That would require a browser extension - has anyone already done that?
Sounds like an interesting project :) @duy_khanh_nguyen - can you share what you have working so far?
I only want this for logged-in members like what Medium does.
Each member would be able to manage their own highlights, yes.
Those two are what I’m expecting and the rest of them are optional.
So basically what I needed is the highlight feature like Medium. At the first time, I was going to implement it by using local storage or cache ( to keep the highlighted info ) but I noticed Medium keeps the highlighted information on the database.
So to implement this feature with Ghost blog, I need to configure the database, make the API endpoints (GraphQL), etc.
I hope to get this feature implemented by Ghost team as it’s very useful feature and highlighting is one of the most important feature from Medium ( competitor of Ghost ).