From: Mischa POSLAWSKY Date: Tue, 2 Oct 2018 18:58:19 +0000 (+0200) Subject: edit/page: ctrl+S shortkey to save X-Git-Tag: v3.8~17 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/5738327522a74f1a5458d9b568fdf28092aaba23?hp=e6e54fe22ae87eb9487595b3e6afa5b80c12e3f1 edit/page: ctrl+S shortkey to save Expected feature from desktop editors. --- diff --git a/edit/page.js b/edit/page.js index 5e38383..522d63e 100644 --- a/edit/page.js +++ b/edit/page.js @@ -39,6 +39,7 @@ CKEDITOR.plugins.add('inlinesave', { ajaxpost.send(data); }, }); + editor.setKeystroke(CKEDITOR.CTRL + 83 /*S*/, 'inlinesave'); editor.ui.addButton( 'Inlinesave', { command: 'inlinesave', label: editor.lang.save.toolbar,