-
☆ A M B ☆
- 1,780 Posts
Is it possible to program MODX to use the enter key for the "ok" pop-up like ctrl+s works to save a document/resource?
I'd love to see this on all "ok" buttons. I'm not a clicker by nature, I dislike always having to take my hands off the keyboard to navigate. Any keyboard shortcut I can use, I will. When I see "ok", I naturally wish to hit "enter" on the keyboard. But that doesn't work in MODX.
-
☆ A M B ☆
- 894 Posts
So what would happen when writing code or a paragraph and you hit enter?
I can see maybe ctrl+enter but not enter on it's own.
-
☆ A M B ☆
- 1,780 Posts
When the pop-up shows, with the ok button available, I'd use enter at that point.
I would not expect enter to function differently while in a coding window within MODX. Just the pop-ups. And just for "OK" by default. Tabbing might be applied to tab over to the "save output to file" button, and then enter could also be used for that button.
I see why you're asking though, as ctrl+s works outside of a pop-up window.
I can see it being advantageous while installing packages as well.