Link to plugin page: https://zeroqode.com/plugin/air-keyboard-shortcut-1617622493080x495811358317770400
This plugin allows you to handle keyboard shortcuts in your bubble applications.
Supported Keys For modifier keys, you can use shift, ctrl, alt, or meta.
You can substitute option for alt and command for meta.
Other special keys are backspace, tab, enter, return, capslock, esc, escape, space, pageup, pagedown, end, home, left, up, right, down, ins, del, and plus.
Any other key you should be able to reference by name like a, /, $, *, or =.
Keys that require shift, example ?, are handled magically for you. They should just work.
Cross-platform support The plugin provides a generic mod helper which lets you set cross-platform shortcuts. So if you define a shortcut binding as mod+k, on Mac this ends up mapping to command+s whereas on Windows and Linux it maps to ctrl+s.
Plugin element properties This plugin is a non-visual element. This means when it is added to a page it will not be shown on preview. There are only two fields to set in the element properties as shown below.
There are two ways to define shortcut keys
Allow globally option By default, the shortcuts will not work in input elements like text input and text areas. But when this option is checked the keyboard shortcut bindings will work in all inputs including text inputs. Use this with caution because it can cause some issues with default keyboard shortcut bindings in inputs.
1. Install the plugin
2. Add the element to the page.
3. Define the two properties as explained above
4. In the workflow, page add a new event
5. Choose one of your AirKeyboardShorcuts elements
6. Define your action as usual