diff --git a/apps/client/src/widgets/ribbon/NoteActions.tsx b/apps/client/src/widgets/ribbon/NoteActions.tsx index 33017221b..bc191b5d0 100644 --- a/apps/client/src/widgets/ribbon/NoteActions.tsx +++ b/apps/client/src/widgets/ribbon/NoteActions.tsx @@ -105,10 +105,24 @@ function NoteContextMenu({ note, noteContext }: { note: FNote, noteContext?: Not + {glob.isDev && } ); } +function DevelopmentActions({ note }: { note: FNote }) { + return ( + <> + + Development-only Actions + window.open(`/?print=#root/${note.noteId}`, "_blank")} + >Open print page + + ) +} + function CommandItem({ icon, text, title, command, disabled }: { icon: string, text: string, title?: string, command: CommandNames | (() => void), disabled?: boolean, destructive?: boolean }) { return