[annotator-dev] Add custom field in my demo.html(how to add editor more fields)

dilip kumar dskd.s01 at gmail.com
Wed Jul 24 14:14:50 UTC 2013


Hi,

I am trying to add multiple fields add in editor,  when text to select and
then click annotate button to annotate there are one fields showing in
"Editor" but i want to add more fields in "Editor" without change any code
in "annotator-full.mini.js", Please see below code what i am write:

*var content=$('#airlock').annotator();
content.annotator('addPlugin', 'Tags',{
 editor.addField({
      label: 'Name',
*
*      type: 'input',
*
*      load: this.updateField,
      submit: this.setAnnotationTags
    });

    viewer.addField({
      load: this.updateViewer
    });
});*


Please help me.

-- 
Thanks & Regards,
Dilip Kumar ( Sr.PHP Programmer)
91+9958513919
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20130724/bab7b4cf/attachment-0001.html>


More information about the annotator-dev mailing list