function onAddComment(comment: comment): void
The function called when a comment is added to the document with the {@link /plugin/executeMethod/text/addcomment AddComment} method.
comment
Defines the comment object containing the comment data.
void