Add save hotkey.
This commit is contained in:
@@ -207,6 +207,11 @@
|
|||||||
|
|
||||||
Mousetrap.bind(['command+b', 'ctrl+b'], function(){ hotkey('function-bold'); });
|
Mousetrap.bind(['command+b', 'ctrl+b'], function(){ hotkey('function-bold'); });
|
||||||
Mousetrap.bind(['command+i', 'ctrl+i'], function(){ hotkey('function-italic'); });
|
Mousetrap.bind(['command+i', 'ctrl+i'], function(){ hotkey('function-italic'); });
|
||||||
|
Mousetrap.bind(['command+s', 'ctrl+s'], function(){
|
||||||
|
$("#gollum-editor-submit").trigger("click");
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
} );
|
} );
|
||||||
} else {
|
} else {
|
||||||
LanguageDefinition._ACTIVE_LANG = name;
|
LanguageDefinition._ACTIVE_LANG = name;
|
||||||
|
|||||||
Reference in New Issue
Block a user