NEWCKEditor AI is here! Learn how to supercharge your editor with AI on our webinar.
Sign up (with export icon)

BatchType

Api-interface iconinterface

A set of flags that specify the type of the batch. Batch type can alter how some of the features work when encountering a given Batch instance (for example, when a feature listens to applied operations).

Properties

  • Chevron-right icon

    isLocal : boolean | undefined

    Whether a batch includes operations created locally (true) or operations created on other, remote editors (false).

    Defaults to true

  • Chevron-right icon

    isTyping : boolean | undefined

    Whether a batch includes operations connected with a typing action.

    Defaults to false

  • Chevron-right icon

    isUndo : boolean | undefined

    Whether a batch was created by the undo feature and undoes other operations.

    Defaults to false

  • Chevron-right icon

    isUndoable : boolean | undefined

    Whether a batch can be undone through undo feature.

    Defaults to true