This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/web/annotations/comments-and-replies/replies.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Reply to PDF annotations using JavaScript | Nutrient SDK

Annotation replies enable you to create a thread of comments in a PDF document. Nutrient Web SDK will display any comments you create as a threaded conversation.

A thread of comments

If you open a document with comments created by any Nutrient SDK, Nutrient Web SDK also displays those comments in a thread.

Nutrient Web SDK doesn’t support annotation replies created by other PDF software, but it displays them as individual note annotations.

Disabling replies

Since Nutrient Web SDK 1.24, setIsEditableComment and the isEditableComment configuration option only control whether existing comments can be edited and deleted. They don’t prevent replies.

With Document Engine, use the reply action of the comments content type in collaboration permissions. This action controls whether a user can reply to a comment thread.

In standalone mode, hide the reply editor through the comment thread editor slot:

NutrientViewer.load({
ui: {
commentThread: {
editor: () => ({ render: () => null }),
},
},
});

The slot applies to every thread, including the editor for the first comment of a new thread.