Skip to main content
Known Participant
Sep 26, 2023 4:14 AM UTC
Answered

No annotations in LIGHTBOX

I am unable to make annotations unless the embed mode is on the default mode. 

 

The code below has no annotation tools enabled.

 embedMode: "LIGHT_BOX",

      showDownloadPDF: false,
      showAnnotationTools: true,
 
    This topic is closed to new replies. Start a new post to keep the conversation going.
    Joel Geraci
    Joel GeraciCorrect answer
    Community Expert
    Sep 26, 2023 7:44 PM UTC

    FULL_WINDOW was an unfortunate word choice for that mode. A more accurate definition would be FULL_ELEMENT. Basically, set up a <div> to be the size and location you want and then target that <div> with your divId in the code. 

    3 replies

    Joel Geraci
    Community Expert
    Community Expert
    Sep 26, 2023 2:51 PM UTC

    That is the expected behavior. The tools are not available in all modes.

    Translate
    Known Participant
    Sep 26, 2023 2:55 PM UTC

    Hi Joel, thanks, i must have missed this in the docs, but glad you clarified.

     

    in this case, what are the workarounds, if i dont want the tools but not in a window that taeks over the whole screen? can i style the  window so that it looks like a modal... i've tried to overwrite teh default styles but that wont work... options?

    Translate
    Joel Geraci
    Community Expert
    Joel GeraciCommunity ExpertCorrect answer
    Community Expert
    Sep 26, 2023 7:44 PM UTC

    FULL_WINDOW was an unfortunate word choice for that mode. A more accurate definition would be FULL_ELEMENT. Basically, set up a <div> to be the size and location you want and then target that <div> with your divId in the code. 

    Translate