Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#9060 closed enhancement (fixed)

[PATCH] Autosave post/page when pressing Control/Command+S in TinyMCE

Reported by: srobbin's profile srobbin Owned by: azaozz's profile azaozz
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7
Component: TinyMCE Keywords:
Focuses: Cc:

Description

When using TinyMCE to draft a post/page, I often press Command-S (or Control-S) just like I do when saving my work in a desktop word processor. Instead of having my work saved, I'm presented with a Save As dialog box (the default behavior of the browser). Web-based applications like Google Docs and Gmail override this interaction and autosave a user's content. I thought it would be nice to have the same experience in Wordpress.

Attached is a patch that allows for this type of key event/autosave functionality.

Attachments (1)

autosave-patch.txt (2.1 KB) - added by srobbin 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @azaozz
15 years ago

Good idea, however TinyMCE has a very nice API for keyboard shortcuts, no need to patch it from an external script.

#2 @azaozz
15 years ago

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

(In [10528]) Autosave post/page when pressing Control/Command+S in TinyMCE, props srobbin, fixes #9060

Note: See TracTickets for help on using tickets.