onAddComment

function onAddComment(comment: comment): void

Description

The function called when a comment is added to the document with the {@link /plugin/executeMethod/text/addcomment AddComment} method.

Parameters

commentcomment

Defines the comment object containing the comment data.

Returns

void

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).