Open
Description
I test annotator on wordpress site, stable version works great, but can't understand how to use store plugin to save annotations. I use this code:
`jQuery(function ($) {
$('.main-container').annotator()
.annotator('addPlugin', 'Store', {
prefix: 'http://mysite.com/api' ,
annotationData: {
'uri': '/annotations'
},
urls: {
create: '/highlighter?page_id=',
update: '/update',
destroy: '/delete',
search: '/annotations?page_id='
}
});
});
`
the plugin gets error messeges and in the console i see this error:
API request failed: '200'
I'm not sure how to make it work.
Metadata
Metadata
Assignees
Labels
No labels