cancel

cancel: () => void | undefined

Callback that allows editor implementation to indicate that editing is cancelled. This is useful if editor is rendered inside a container that waits for committing/cancelling action (like ENTER or ESC key press) but editor implementation has additional actions that should cause cancellation (cancel button, etc).

Defined in

Last Updated: 17 April, 2025