Repository navigation
@openpresentation/opf-editor 0.24.3
·
13 commits
to main
since this release
- RR-98:
@openpresentation/opf-editor/presenteraddscreatePresenter(full screen through the Fullscreen API with a fixed-overlay fallback, slides drawn with the canvas's renderer, fonts handle and catalogs and letterboxed on black, the neighbors drawn ahead; Right, Space, PageDown, Enter, Left, PageUp, Backspace, Home, End, Esc, click zones and touch swipes; hidden slides skipped as the exports skip them; a "03 / 12" counter on pointer move;onExit(index)andonSlideChange(index);role="dialog", a focus trap and anaria-liveannouncement),createPresentButton(an icon-only "Present" button, title "Present (F5)", styled like the Export trigger) andbindPresentShortcut(F5, ignored while typing).@openpresentation/opf-editor/read-deck-fileaddsreadDeckFile(file | { name, text })(JSON, YAML or Markdown by extension, with fallbacks, through core'sfromYamlandfromMarkdown; returns{ document, format, name, findings }and throws a typedDeckFileError) andDECK_FILE_ACCEPTfor<input accept>. The example playground has a Present button next to Export, and its Import file tab and drop zone read.yaml,.ymland.mdthroughreadDeckFile. The styles aresrc/styles/presenter.css, instyles.css.