Triggered when a comment is marked.
function wixComments_onCommentMarked(event: CommentMarkedEvent): void;
export function wixComments_onCommentMarked(event) {
const eventId = event.metadata.id;
const entityId = event.data.comment._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.