[annotator-dev] How to add a field in editor

dilip kumar dskd.s01 at gmail.com
Tue Jul 23 16:06:39 UTC 2013


I want to add a field in editor but i want to use write code in my "HTML".
What i am trying :

      type: 'input'
      label:  'text'
      load:   this.updateField
      submit: this.setAnnotationTags
      load: this.updateViewer

But it's showing in console  error below:

Error: SyntaxError: missing } after property list
Source File: http://localhost/Annotate/
Line: 62, Column: 6
Source Code:
      label:  'text'

Please help me
Thanks & Regards,
Dilip Kumar ( Sr.PHP Programmer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20130723/6e8a8595/attachment-0001.html>

More information about the annotator-dev mailing list