property TextEditorProps.onKeyDown Runs after the editor's own keys (autocompletes, Ctrl+Enter), and never while an IME is composing, so an Enter that confirms a candidate isn't taken for "send". Type (e: React.KeyboardEvent<HTMLTextAreaElement>) => void