Open rafaelpapa opened 10 years ago
I think I am having the same problem. The annotations are repeating in different pages but in equivalent places. Any progress on that @rafaelpapa ?
Thanks for the messages. It sounds like the setAnnotationData
option is what you're looking for:
jQuery('#content').annotator().annotator("addPlugin", "Offline", {
setAnnotationData: function (ann) {
ann.uri = window.location.href;
}
});
HI! greatly appreciate the answer to always offline?
I can't figure how to annotate multiple pages using only localstorage offline, without being forced to use "remote" store api. How may i add a uri property to every annotation stored locally ? so i can later retrieve only the annotations for each page, and not treat all annotations as common to all pages ?
Thank you