TrackChangesConfig (track-changes)



The configuration of the track changes feature.


	.create( {
		// Track changes feature configuration.
		trackChanges: {
			// Do not allow users to comment suggestions (default is `false`).
			disableComments: true,
			// Do not track styling and formatting changes (default is `true`).
			trackFormatChanges: false
	} )
	.then( ... )
	.catch( ... );

See all editor options.



  • SuggestionThreadView : BaseSuggestionThreadView

    A view class to be used to create suggestion thread views (used as annotations - in sidebar balloons or in inline annotations).

    When no view is passed then SuggestionThreadView is used to display suggestion annotations.

    Using this property is described in the Annotation customization section.

  • disableComments : Boolean

    A property that specifies if the comments for suggestions are enabled or disabled. When the option is set to true, the comment thread UI for suggestions will be hidden and commenting suggestions will be disabled.

    Suggestion thread views will be marked with the additional ck-suggestion--disabled-comments class when the suggestion comments are disabled.

  • trackFormatChanges : Boolean

    A property that specifies whether format changes should be tracked (true) or not (false).

    Format changes are all changes other than insertions and deletions, including: styling, structure, widgets properties, etc.

    Defaults to true.