User
16 Dec 20251 minute to read
Represents a user model for a block in the block editor component.
Properties
avatarBgColor string
Specifies the background color of the user’s avatar.
This property defines the background color for the avatar and can also be used as the cursor color in collaborative editing.
Defaults to ’’
avatarUrl string
Specifies the URL of the user’s avatar image.
This property holds the URL that points to the user’s avatar image.
Defaults to ’’
cssClass string
Specifies the CSS class applied to the user block.
Allows custom styling by associating one or more CSS class names with the user.
Defaults to ’’
id string
Specifies the unique identifier for the user.
This property is used to uniquely identify each user in the editor.
Defaults to ’’
user string
Specifies the name of the user.
This property stores the name of the user associated with the block.
Defaults to ’’