Typedef

UpdateCommentEvent (comments/comments)

@ckeditor/ckeditor5-comments/src/comments/commentsrepository

typedefobject

Fired whenever a comment is updated.

The event name includes channelId so it is possible to listen only to changes happening in the specified channel.

It is also possible to listen to events from the given thread ID by appending :[threadId] part to the event name

const channelId = 'foo';
const threadId = '1234';

commentsRepository.on( `updateComment:${ channelId }:${ threadId }`, ( evt, data ) => {
	console.log( evt, data );
} );

Filtering

Properties

  • args : tuple

  • name : string

Fired by