[wp-trac] [WordPress Trac] #44986: We should save/update posts in the post.php admin screen when the user presses CTRL + S

WordPress Trac noreply at wordpress.org
Sun Oct 28 13:28:51 UTC 2018


#44986: We should save/update posts in the post.php admin screen when the user
presses CTRL + S
-------------------------------+------------------------------
 Reporter:  Blackbam           |       Owner:  (none)
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by afercia):

 * keywords:  reporter-feedback needs-testing => reporter-feedback
 * focuses:  accessibility =>
 * version:  trunk =>


Comment:

 What the "Save with keyboard" plugin does is a bit different. It triggers
 a click on the Publish/Update button. In doing so, it also triggers a form
 submission with consequent page reload. Also, for me it works only after
 the second `Ctrl/Cmd+s` press.

 Instead, the `Ctrl/Cmd+s` provided by WordPress saves the post content via
 AJAX. You won't see a page reload. You can check your browser's dev tools
 Network tab to see the AJAX request. Also, you will notice the "draft
 saved" info at the bottom of the classic editor updates:

 [[Image(http://cldup.com/WDaC2DOV0O.png)]]

 I can't test on Linux but `Ctrl/Cmd+s` works for me with all browsers on
 Windows and macOS. @Blackbam when you have a chance please check there are
 no JavaScript errors in your browser's dev tools console and please make
 sure you're testing with all plugins deactivated and a default theme (e.g.
 Twenty Seventeen). Thanks!

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


More information about the wp-trac mailing list