onRemoveComment
The function called when the specified comment is removed with the RemoveComments method.
Parameters
| Name | Data type | Description |
|---|---|---|
| comment | Event_comment | Defines the comment object containing the comment data. |
window.Asc.plugin.attachEditorEvent("onRemoveComment", (comment) => {
removeComments([comment.Id]);
});