Opened 7 years ago

Last modified 4 years ago

#2289 reopened enhancement

Allow cmd/ctrl-enter to submit the comment form in Trac

Reported by: helen's profile helen Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: Priority: normal
Component: Trac Keywords:


Trac is very jumpy when composing comments and the preview loads. It's very easy to lose track of the submit button or even misclick. I'd like for cmd/ctrl-enter to submit that form, as it's a very common paradigm and particularly helpful when you're quickly leaving comments on Trac.

Attachments (1)

2289.patch (774 bytes) - added by SergeyBiryukov 7 years ago.

Download all attachments as: .zip

Change History (5)

This ticket was mentioned in Slack in #meta-tracdev by helen. View the logs.

7 years ago

7 years ago

#2 @SergeyBiryukov
7 years ago

  • Keywords has-patch added

#3 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 5906:

Trac: Submit comment form on Cmd/Ctrl + Enter.

Fixes #2289.

#4 @SergeyBiryukov
4 years ago

  • Keywords has-patch removed
  • Resolution fixed deleted
  • Status changed from closed to reopened

Per @helen, [5906] doesn't work as expected with the Cmd key on Mac.

It's likely that metaKey should be checked in addition to ctrlKey. Reopening to address that.

Note: See TracTickets for help on using tickets.