git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6e54fe
)
edit/page: ctrl+S shortkey to save
author
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 2 Oct 2018 18:58:19 +0000
(20:58 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 26 Oct 2018 19:02:59 +0000
(21:02 +0200)
Expected feature from desktop editors.
edit/page.js
patch
|
blob
|
history
diff --git
a/edit/page.js
b/edit/page.js
index 5e383835993ebd8f92034e8a1fdf75e275e84217..522d63e3c41d5b55f05b987ea5b05c6d7620b2b2 100644
(file)
--- 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,