RtcPresenceListConfig
interface
The configuration of the real-time collaboration features.
ClassicEditor
.create( {
presenceList: ... // Collaboration presence list configuration.
} )
.then( ... )
.catch( ... );Copy codeSee all editor options.
Properties
collapseAt?: numbermodule:real-time-collaboration/config~RtcPresenceListConfig#collapseAtIndicates a number of displayed users at which the presence list will switch to a dropdown view. If the number is 8, then 7 users will still be displayed inline, while 8+ users will be displayed in the dropdown.
The number must be greater than
0.Defaults to
6container?: HTMLElementmodule:real-time-collaboration/config~RtcPresenceListConfig#containerDOM element that will hold the feature’s UI.
displayMe?: booleanmodule:real-time-collaboration/config~RtcPresenceListConfig#displayMeDetermines if the local user avatar should be displayed in the presence list (
true) or not (false).Defaults to
trueonClick?: ( user: User, element: HTMLElement ) => voidmodule:real-time-collaboration/config~RtcPresenceListConfig#onClickCallback function that will be invoked after a click on a presence list member.