# UIAddCommentEvent

typedef

Fired when a user performed an action that should lead to creating a new comment in the comment thread.

This event is fired by default when the comment input field of the comment thread is submitted.

<a id="properties">

## Properties

<a id="member-args">

### `args: [ content: string ]`

<a id="member-name">

### `name: 'addComment'`

#### Value

`object`

## Fired by

* [BaseCommentView#addComment](module_comments_comments_ui_view_basecommentview-BaseCommentView.md#event-addComment)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
