UserModel
12 Sep 20251 minute to read
Interface for a class User
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.
avatarUrl string
Specifies the URL of the user’s avatar image.
This property holds the URL that points to the user’s avatar image.
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.
id string
Specifies the unique identifier for the user.
This property is used to uniquely identify each user in the editor.
user string
Specifies the name of the user.
This property stores the name of the user associated with the block.