Requirements Globally intercept the contextmenu event to prevent the default browser menu.Show a Bento‑owned menu at the mouse position, with items dynamically adapted to the current context (e.g., text selected, shape selected, empty slide area, presentation mode). #380
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Requirements
Globally intercept the contextmenu event to prevent the default browser menu.
Show a Bento‑owned menu at the mouse position, with items dynamically adapted to the current context (e.g., text selected, shape selected, empty slide area, presentation mode).
Clicking a menu item executes the action and closes the menu; clicking outside or pressing ESC also closes it.
Suggested Menu Items (examples)
General: Copy, Paste, Cut, Delete, Undo/Redo
Slide‑level: New/Duplicate/Delete Slide, Layout sub‑menu
Element‑level: Bring to Front/Send to Back, Align, Animation
Global: Present, Export PDF, Save
All reactions