property TextEditorProps.onSubmit

Called on Ctrl/Cmd+Enter, but not while an image is still uploading.

Type

() => void

Usage

import { type TextEditorProps } from "src/components/editor/TextEditor.tsx";