bind ctrl-s to save
GoogleCodeExporter opened this issue · comments
What steps will reproduce the problem?
1. open the editor
2. edit
3. hit CTRL-S on the keyboard
What is the expected output? What do you see instead?
I whould like to automatically save the file, but I see the "save as" operating
system window
What version of the product are you using? On what operating system?
latest? on windows
Please provide any additional information below.
I don't really know the plain js version, but with jquery you can bind the
CTRL-S with
$(document).keypress('s', function(e) {
e && e.preventDefault();
if (e.ctrlKey)
console.log('you have typed CTRL-S');
});
Original issue reported on code.google.com by Vito.DeT...@gmail.com
on 25 Jul 2012 at 4:55
good idea
i will merge at next version
Original comment by farmer1...@gmail.com
on 25 Jul 2012 at 4:57
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
1.3.8
Original comment by farmer1...@gmail.com
on 2 Dec 2012 at 10:54
- Changed state: Fixed