[wp-trac] [WordPress Trac] #41545: Allow cmd/ctrl-enter to submit comment forms

WordPress Trac noreply at wordpress.org
Tue Aug 13 21:26:08 UTC 2019


#41545: Allow cmd/ctrl-enter to submit comment forms
---------------------------------------------+-----------------------------
 Reporter:  helen                            |       Owner:
                                             |  adamsilverstein
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  5.3
Component:  Comments                         |     Version:
 Severity:  minor                            |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:  javascript
---------------------------------------------+-----------------------------
Changes (by adamsilverstein):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45790" 45790]:
 {{{
 #!CommitTicketReference repository="" revision="45790"
 Comments: enable typing cmd/ctrl-enter to submit comment forms.

 Add a key handler on the comment form that detects the cmd/ctrl-enter key
 press and submits the comment form.

 Props xyfi, Lindstromer, helen, splitti.
 Fixes #41545.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/41545#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list