You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drag a `.json` diagram exported from Apollon anywhere onto the app to import it — it opens as a new diagram, leaving whatever you had open untouched. A drop overlay confirms the target, and the File-menu "Import" item takes the same path.
Duplicates the selection with Ctrl/Cmd+D — edges between the duplicated elements included — and puts the viewport on the keyboard: Ctrl/Cmd+= and Ctrl/Cmd+- to zoom, Ctrl/Cmd+0 for 100%, Ctrl/Cmd+Shift+1 and Ctrl/Cmd+Shift+2 to fit the diagram or the selection. Esc still clears the selection, which Ctrl/Cmd+D used to do. Zooming, copying and selecting now work on a read-only diagram, shortcuts stay out of open dialogs and half-typed IME characters, and holding a key repeats only undo, redo and zoom.
6
+
7
+
For embedders: `APOLLON_SHORTCUTS` lists every key the editor consumes, alongside `matchesShortcutCombo`, `isTypingTarget`, `isInsideOverlay` and `shortcutKeyName` — enough to render a shortcut sheet that tracks the editor, or to bind your own keys under the same rules. Pass `keyboardShortcuts: false` to keep the editor off the keyboard entirely.
Saves the diagram as a JSON file with Ctrl/Cmd+S, instead of the browser offering to save the page. Ctrl/Cmd+Shift+S now writes a version to history straight away — it used to only open the panel. The "How to use this editor?" dialog lists every shortcut with the keys your own keyboard prints — ⌘⇧Z on a Mac, Ctrl+Shift+Z everywhere else — and its viewport tips now match what the canvas does: scroll or drag pans, Ctrl/Cmd+scroll zooms.
0 commit comments