keystonejs/keystone-classic

Bind Ctrl + s event to save functionality on 'Edit Post' screen

Open

#4.480 geöffnet am 24. Okt. 2017

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)JavaScript (2.288 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (14.656 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Expected behavior

When the user is editing a post of theirs, they should be able to press ctrl + s to save the content

Actual/Current behavior

When the user is editing a post of theirs, ctrl + s simply performs the default browser behavior and prompts to save the html version of the page.

Steps to reproduce the actual/current behavior

  • Select a post from the admin page and choose to edit the post
  • press the ctrl and then the 's' keys

Environment

Software Version
Keystone master branch of the repo (npm linked)
Node 6.11.2

Contributor Guide