Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: Forgotten hint in keyboards shortcuts dialog about cmd+click in navigator nodes to expand all (#5509)

Oleg Isonenf4f520f9b1fc
diff --git a/apps/builder/app/builder/features/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.tsx b/apps/builder/app/builder/features/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.tsx
index 5d42489878..447a6ac615 100644
--- a/apps/builder/app/builder/features/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.tsx
+++ b/apps/builder/app/builder/features/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.tsx
@@ -58,6 +58,13 @@ const additionalShortcuts = [
category: "Navigator",
defaultHotkeys: ["←"],
},
+ {
+ name: "expandAllNavigatorNodes",
+ label: "Expand all nodes",
+ description: "Click on arrow to expand or collapse all nodes",
+ category: "Navigator",
+ defaultHotkeys: ["meta+click", "ctrl+click"],
+ },
{
name: "switchBreakpoint",
label: "Switch breakpoints",
@@ -114,6 +121,7 @@ export const KeyboardShortcutsDialog = () => {
"duplicateInstance",
"expandNavigatorItem",
"collapseNavigatorItem",
+ "expandAllNavigatorNodes",
],
Panels: [
"toggleComponentsPanel",