I'd love to just set up Ctrl-S to save the current node. Can anyone provide guidance on how to do that?

Comments

firestonej’s picture

I was able to do this by adding a javascript file with a function in it to my theme's .info file. The function simply called:

document.forms['node-form'].submit(); return 0;

Then I call the name of this function and pick my shortcut. I'm not getting meta tags to work, but I think that might be a separate issue. I can still get this to work with single key presses.

nestor.mata’s picture

Status: Active » Fixed

Modifications has being made so that the javascript works on several browsers.
If you want to use the metakeys the advice is to set up the keycode, not the letter, that should work.

Also, I will consider adding more based javascript function to submit forms and other useful features.

Nestor

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.