From 60eff99f25dbfc9799043ad979537e2da1aea590 Mon Sep 17 00:00:00 2001 From: oliver <97427849+flamboh@users.noreply.github.com> Date: Thu, 10 Sep 2026 11:37:35 -0700 Subject: [PATCH] fix(web): save PR body edits with Cmd/Ctrl+Enter (#10660) --- .../pullRequest/PullRequestMarkdownEditor.tsx | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/apps/web/src/components/pullRequest/PullRequestMarkdownEditor.tsx b/apps/web/src/components/pullRequest/PullRequestMarkdownEditor.tsx index fde29d0237747b297aef3cced6faac3a9b155b88..a92418bbb862a5df5ed244764b10ca8cf2d67086 100644 --- a/apps/web/src/components/pullRequest/PullRequestMarkdownEditor.tsx +++ b/apps/web/src/components/pullRequest/PullRequestMarkdownEditor.tsx @@ -55,11 +55,24 @@ export function PullRequestMarkdownEditor({ setDraft(value); } const empty = draft.trim().length === 0; + const saveDisabled = saving || (empty && !allowEmpty); return (