Partially disable annotatorjs

80 Views Asked by At

I am using http://annotatorjs.org/ in my project, I need to partially disable it

<div>
 Some text
   <div>
     Some more Text // Disable annotator in this one.
   </div>

1

There are 1 best solutions below

0
On

The Annotator plugin looks for a <p> or <div> tag to put in an ID with of content by default in their documentation.

Since the stable version is used with jQuery, one can change the required tags to have a different ID or class of choice.

Read about it here - Setting Up Annotator.