Currently Lurnby's highlighting only works for text content. Ideally you should be able to highlight images, graphs, and charts.
The existing libraries all seem to rely on making a screenshot by recreating the DOM and I'm not positive if that would work in all use cases such as pdfs and the like.
In any case, would need to do a few things for that.
Open up an option to take a screenshot instead of create a highlight in reader mode.
Create a new db field for storing image location in the Highlight model.
Change how the highlight displays if it's an image or if it's text.
Currently Lurnby's highlighting only works for text content. Ideally you should be able to highlight images, graphs, and charts.
The existing libraries all seem to rely on making a screenshot by recreating the DOM and I'm not positive if that would work in all use cases such as pdfs and the like.
In any case, would need to do a few things for that.