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 library. On Wed, Mar 14, 2018 at 1:20 AM Sooraj Sethumadhavan < sooraj.sethumadha...@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@lists.okfn.org > https://lists.okfn.org/mailman/listinfo/annotator-dev > Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev >
_______________________________________________ annotator-dev mailing list annotator-dev@lists.okfn.org https://lists.okfn.org/mailman/listinfo/annotator-dev Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev