commit

commit: () => void | undefined

Callback that allows editor implementation to indicate that editing is finished. 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 commit (closing popup, commit button, etc.).

Defined in

Last Updated: 17 April, 2025