Enhances Bubble.io editor: Data Type/Option Sets/Attributes (layout, colors). Modal dialogs - full keyboard support (Enter/Esc, Tab nav). Toggleable canvas padding. Ctrl+N for hinted "Create a new..." buttons.
This script offers several enhancements for the Bubble.io visual editor, aiming to improve keyboard accessibility for modal dialogs, provide quick creation shortcuts, refine data table layouts, and offer editor canvas layout options.
It's shared with the community in the hope that it's useful for fellow Bubble developers.
1. Keyboard Navigation and Shortcuts for Modals & Actions
This section focuses on reducing mouse usage for common editor tasks:
Ctrl+N:
Ctrl+N to click buttons like "Create a new field", "Create a new attribute".Tab and Shift+Tab to navigate between "Field Name", "Field Type" (dropdown auto-opens), "Is this a list?" checkbox, and the "Create" button.Spacebar when focused.Enter for the primary action (e.g., "Create", "DELETE") and Escape to "Cancel" in dialogs and confirmation popups.Intended Benefit: To make common data and attribute management tasks faster and more efficient by allowing a more keyboard-centric workflow.
2. Data Table & Option Set Layout Adjustments
These changes aim to improve the readability and space utilization of data definition tables:
Intended Benefit: To make viewing and managing data structures clearer and potentially reduce visual strain.
3. Editor Canvas Layout Option (Toggleable)
Toggle Canvas Right Padding). The preference is saved.Intended Benefit: To offer an alternative layout that some users might find more ergonomic for their specific workflow with the Properties editor.
How to Use:
https://*.bubble.io/page*). You may need to refresh your Bubble editor page if it was already open during installation.Notes:
DEBUG_MODE flag at the top of the script can be set to true for console logs, which might be helpful for troubleshooting.Author: Kibermaks ([email protected])
Feedback, suggestions, or reports of issues are welcome.