[annotator-dev] Add ids to annotators

Jamie M Folsom jfolsom at MIT.EDU
Tue Jul 24 18:43:55 UTC 2012

Neglected to edit the subject line on my response. Here it is again.

Great to know that it's possible to customize the user experience with event
hooks. That might suggest a CUSTOMIZING.markdown to complement the open
shakespeare example implementation -- something for those who aren't building
a new plugin but want to do something beyond configure existing plugins. Does
that seem like it would be useful? If so, I'm glad to take it on, as I learn
what should go in it ;-)

I also agree that it seems generally useful to have the annotation-hl-{#id} on
each annotation.

Curious if I am on the right track to the latter with these changes to


Thanks to you both!


On Jul 24, 2012, at 6:24 AM, Nick Stenning wrote:

> Jamie and Randall wrote:
>> [stuff about attaching id attributes to annotation highlights]
> Is there any particular reason we wouldn't want this enabled by default?
> I mean sure, Jamie *could* do this with event hooks. But it seems to
> me to be an oversight on my part. I think we should, by default, add
> ids of the form "annotation-hl-#{id}" to highlights, if
> "annotation.id?".
> -N

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1579 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20120724/e356d9fe/attachment-0004.bin>

More information about the annotator-dev mailing list