Sign up (with export icon)

ProposedChangesControllerOptions

Api-interface iconinterface

Properties

  • Chevron-right icon

    How long, in milliseconds, the preview waits after the user applies, suggests or rejects a change in the attached view or in the preview balloon before it moves on to the next change. The decided change shows its new state in the meantime. Set it to 0 to move on right away.

    Applies only when hasPreview is on. Calling the controller methods, for example applyChange, never waits.

    Defaults to 600

  • Chevron-right icon

    hasPreview?: boolean

    Whether proposed changes are previewed in the document, in the balloon of the editor the change belongs to. Applies both to the previews opened from the attached view and to previewChange.

    Requires the editor to load the AIChatBalloon plugin.

    Defaults to false