Hello,

I am using store plugin of annotator.js
The problem is I am unable to store the received data(enetered into the
comment box of annotatorjs ) at the desired location as JSON.

The *code *for the plugin is as follows

    $('#page-container').annotator().annotator('addPlugin', 'Store', {
      urls: {

        prefix: '/editor/uploaded',
        update:'/annotations',

      }
    });

The *output* I get in console is

    XHR finished loading: POST "http://localhost/editor/uploaded/annotations
"
    Uncaught TypeError: Cannot read property 'id' of null

Please let me know how the storage can be accomplished.
Thanks in advance !!

Regards,
Sagar
_______________________________________________
annotator-dev mailing list
[email protected]
https://lists.okfn.org/mailman/listinfo/annotator-dev
Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev

Reply via email to