Skip to main content
Participant
May 4, 2021 7:02 AM UTC
Question

[Embed API] Disabling commenting while drawing is enabled

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

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Adobe Employee
Jun 11, 2021 10:40 AM UTC

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!

Translate