[annotator-dev] inserting custom views with UI logic in Annotator editor view

Zach Zibrat zachzibrat at gmail.com
Sat Oct 25 23:16:31 UTC 2014


Hello,

I'm interested in trying to write an Annotator plugin that lets me insert
views with custom logic into the editor window – once text has been
selected, I want to show a list of questions in the editor that the user
can select from, and depending on their answer, then show another 'view' in
the window can be shown (possibly with more questions)p, and so on.

I tried writing an Annotator plugin using jQuery to do this, it kind worked
but was starting to get unwieldy, and I feel like there's going to be a
better way to do this. I would be happy to share this code with anyone who
is interested.

Ideally, I would like to do this in a project that is going to be using
either ReactJS or EmberJS.

Would love to hear any ideas or from someone who may have done this kind of
thing before, and/or integrated Annotator into a project using the
frameworks I mentioned.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20141025/6dccfcc7/attachment-0003.html>


More information about the annotator-dev mailing list