Skip to main content
Participant
May 4, 2021
Question

[Embed API] Disabling commenting while drawing is enabled

  • May 4, 2021
  • 1 reply
  • 501 views

How can I disable commenting option, but keep drawing available? 

This topic has been closed for replies.

1 reply

Adobe Employee
June 11, 2021

Sorry for the late response.

One way to achieve this is through annotation APIs. You can hide the top bar commenting tools using showToolbar: false in setConfig API, and create your own commenting toolbar containing only the drawing tool. Use the startAnnotationMode API and add annotations to the PDF.

Please have a look at the Annotation API section in the official documentation. Hope this helps!