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
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.