We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc50fb8 commit 25d92beCopy full SHA for 25d92be
1 file changed
apps/roam/src/components/canvas/uiOverrides.tsx
@@ -400,6 +400,7 @@ export const createUiOverrides = ({
400
401
const originalCopyAsSvgAction = actions["copy-as-svg"];
402
const originalCopyAsPngAction = actions["copy-as-png"];
403
+ const originalPrintAction = actions["print"];
404
405
actions["copy-as-svg"] = {
406
...originalCopyAsSvgAction,
@@ -417,6 +418,15 @@ export const createUiOverrides = ({
417
418
addToast({ title: "Copied as PNG" });
419
},
420
};
421
+
422
+ // Disable print keyboard binding to prevent conflict with command palette
423
+ if (originalPrintAction) {
424
+ actions["print"] = {
425
+ ...originalPrintAction,
426
+ kbd: "", // Remove keyboard shortcut to prevent conflict
427
+ };
428
+ }
429
430
return actions;
431
432
translations: {
0 commit comments