[PR #4876] [MERGED] fix: update the newline key in codemirror #4975

Closed
opened 2026-03-17 02:27:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4876
Author: @nivedin
Created: 3/12/2025
Status: Merged
Merged: 3/12/2025
Merged by: @jamesgeorge007

Base: patchHead: fix/newline-bug-codemirror


📝 Commits (1)

  • 82aa781 fix: update the newline key in codemirror

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 packages/hoppscotch-common/src/composables/codemirror.ts (+2 -1)

📄 Description

Closes #4574

This PR fixes the issue in windows where when pressing "Ctrl-Enter" sends the request also added a new line when the focus was on a codemirror instance


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4876 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 3/12/2025 **Status:** ✅ Merged **Merged:** 3/12/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `fix/newline-bug-codemirror` --- ### 📝 Commits (1) - [`82aa781`](https://github.com/hoppscotch/hoppscotch/commit/82aa781d7454e5c7e387f956e8cfc64fe9f9cdc1) fix: update the newline key in codemirror ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/composables/codemirror.ts` (+2 -1) </details> ### 📄 Description Closes #4574 This PR fixes the issue in windows where when pressing "Ctrl-Enter" sends the request also added a new line when the focus was on a codemirror instance --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:27:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4975
No description provided.