Search results

Comment API in JavaScript Blockeditor API control

Represents Comment in the block editor component.

Properties

commentText

string

Specifies the text content of the comment. This property holds the actual comment text.

Defaults to

id

string

Specifies the unique identifier for the comment. This property is used to uniquely identify each comment.

Defaults to

isResolved

boolean

Specifies whether the comment is resolved. This property indicates if the comment has been marked as resolved.

Defaults to false

replies

CommentModel[]

Specifies the replies to the comment. This property holds an array of replies to the comment.

Defaults to []

userID

string

Specifies the user ID of the author of the comment. This property tracks the user who made the comment.

Defaults to