Skip to main content
Known Participant
September 26, 2023
Answered

No annotations in LIGHTBOX

  • September 26, 2023
  • 1 reply
  • 560 views

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 has been closed for replies.
    Correct answer Joel Geraci

    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. 

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    September 26, 2023

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

    Known Participant
    September 26, 2023

    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?

    Joel Geraci
    Community Expert
    Joel GeraciCommunity ExpertCorrect answer
    Community Expert
    September 26, 2023

    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.