mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 22:09:12 +02:00
add back submitting
This commit is contained in:
@@ -88,7 +88,7 @@ export const IssueCommentCreate: FC<TIssueCommentCreate> = (props) => {
|
||||
"-bottom-5": !peekIssue,
|
||||
})}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter" && !e.shiftKey && !e.ctrlKey && !e.metaKey && !isEmpty && editorRef.current?.isEditorReadyToDiscard())
|
||||
if (e.key === "Enter" && !e.shiftKey && !e.ctrlKey && !e.metaKey && !isEmpty && !isSubmitting && editorRef.current?.isEditorReadyToDiscard())
|
||||
handleSubmit(onSubmit)(e);
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user