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

WordPress Trac noreply at wordpress.org
Sun Feb 9 17:50:53 UTC 2020


#48536: Allow cmd/ctrl-enter to submit comment forms in wp-admin
-------------------------------------+-------------------------------------
 Reporter:  david.binda              |       Owner:  davidbaumwald
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  5.4
Component:  Comments                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript,
  2nd-opinion                        |  administration
-------------------------------------+-------------------------------------
Changes (by davidbaumwald):

 * keywords:  has-patch needs-testing => has-patch needs-testing 2nd-opinion


Comment:

 Revisiting the `10` keyCode I had in the original patch, this was to
 accommodate Chrome's quirk for the `keypress` event.  See
 https://bugs.chromium.org/p/chromium/issues/detail?id=79407.  I'm thinking
 the final patch should include this, and we should also re-open #41545 or
 create a new ticket.  Marking for `2nd-opinion`.

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


More information about the wp-trac mailing list