mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4108] [MERGED] fix: ctrl+enter inserting newline in code #4668
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4668
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4108
Author: @ajmalmohad
Created: 6/5/2024
Status: ✅ Merged
Merged: 7/2/2024
Merged by: @nivedin
Base:
patch← Head:fix/run-keybind-codemirror📝 Commits (2)
c1dc894fix: ctrl+enter inserting newline in code88b56f4chore: add 'cmd+enter' to the key list📊 Changes
1 file changed (+10 additions, -0 deletions)
View changed files
📝
packages/hoppscotch-common/src/composables/codemirror.ts(+10 -0)📄 Description
Closes #4029, #3788, #4164
Description
Ctrl+Enter is a keybind for running requests. But using that from codemirror can create a new line along with running the request, so I've overridden the default behaviour of codemirror. Precedence highest is used to override the default ones
Checks
Additional Information
screen-capture (1) (1).webm
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.