RtcPresenceListConfig
interface
The configuration of the real-time collaboration features.
ClassicEditor
.create( {
presenceList: ... // Collaboration presence list configuration.
} )
.then( ... )
.catch( ... );
See all editor options.
Properties
-
collapseAt : number | undefinedmodule: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
6 -
container : HTMLElement | undefinedmodule:real-time-collaboration/config~RtcPresenceListConfig#containerDOM element that will hold the feature’s UI.
-
displayMe : boolean | undefinedmodule:real-time-collaboration/config~RtcPresenceListConfig#displayMeDetermines if the local user avatar should be displayed in the presence list (
true) or not (false).Defaults to
true -
onClick : ( user: User, element: HTMLElement ) => void | undefinedmodule:real-time-collaboration/config~RtcPresenceListConfig#onClickCallback function that will be invoked after a click on a presence list member.