Interface

CollaborationHistory (collaboration-core)

@ckeditor/ckeditor5-collaboration-core/src/collaborationhistory

interface

Interface compatible with History with the difference that it uses CollaborationOperation instead of regular model operations.

Filtering

Properties

  • _operations : Array<CollaborationOperation>

  • version : number

Methods

  • addOperation( operation ) → void

    Parameters

    operation : CollaborationOperation

    Returns

    void
  • getOperation( baseVersion ) → undefined | CollaborationOperation

    Parameters

    baseVersion : number

    Returns

    undefined | CollaborationOperation
  • getOperations( [ fromBaseVersion ], [ toBaseVersion ] ) → Array<CollaborationOperation>

    Parameters

    [ fromBaseVersion ] : number
    [ toBaseVersion ] : number

    Returns

    Array<CollaborationOperation>
  • reset() → void

    Returns

    void