mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-08-07 07:14:49 +00:00
7a8280e5d8
When clicking the print button in the sidebar or executing the print keyboard shortcut, we toggle to reveal.js' print mode in order to print all slides correctly. After printing, the mode is toggled back. Since this might hang under certain circumstances, there is a delay and fallback to always return back to the normal view even if the afterprint event didn't fire correctly. Signed-off-by: Erik Michelson <github@erik.michelson.eu>