[annotator-dev] Support for annotation inside textarea and input fileds (annotator.js)

Randall Leeds randall at bleeds.info
Thu Mar 29 04:06:12 UTC 2018

Annotator represents selections using XPath for elements and text offsets.
Textarea elements contain text, but cannot contain other content.
Therefore, it's possible to get Annotator to find content within a textarea
but not to highlight it.

Editors like TinyMCE don't use textarea elements. Instead, they use
contenteditable to edit and create HTML content. It's possible to use
Annotator to highlight or otherwise annotate this content. However,
annotating dynamic content is not a built-in feature. Depending on the
editor, Annotator may or may not confuse it, conflict with it, or be broken
by it. Integrations should be possible but are not provided in the core

On Wed, Mar 14, 2018 at 1:20 AM Sooraj Sethumadhavan <
sooraj.sethumadhavan at gmail.com> wrote:

> Hi,
> I'd like to know if annotation of contents of textarea and input fields
> are supportedin Annotator.js. I have an application that employs tinymce
> and appendgrid libraries. I want to have the annotator feature for the text
> inside these. Is it possible? If so, could you please guide me.
> Thanks.
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20180329/2bdf5460/attachment-0003.html>

More information about the annotator-dev mailing list