edit/page: describe hotkey letter in save plugin
[minimedit.git] / edit / page.js
index c3ece3c0fbf7ec81c54edb1a0994d4c63e0330a8..76328355a92a3bd195dfc9e974d1b33282f5175f 100644 (file)
@@ -57,7 +57,7 @@ CKEDITOR.plugins.add('inlinesave', {
                                ajaxpost.send(data);
                        },
                });
-               editor.setKeystroke(CKEDITOR.CTRL + 83 /*S*/, 'inlinesave');
+               editor.setKeystroke(CKEDITOR.CTRL + 'S'.charCodeAt(0), 'inlinesave');
                editor.ui.addButton( 'Inlinesave', {
                        command: 'inlinesave',
                        label: editor.lang.save.toolbar,