Skip to content

Fix Pdf Export mode menu button and keyboard shortcut#4676

Merged
dragonstyle merged 5 commits intomainfrom
revealjs/pdf-export-button
Mar 8, 2023
Merged

Fix Pdf Export mode menu button and keyboard shortcut#4676
dragonstyle merged 5 commits intomainfrom
revealjs/pdf-export-button

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Mar 7, 2023

This fix #2988

We patch RevealJS plugin PdfExport so that the toggle function is exported. This allow us to assign it as handler to our menu logic and keyboard shortcut.

To make things clean, the patching of external library is done using a Git Patch, so I added support for that in update-html-dependencies logic.

This PR also adds a prettier configuration file for ignoring some file from the VSCODE auto formatting as we don't want to touch those in our commit tree since they are external.

A mixed PR but all related to the bug fix.

@cderv cderv added this to the v1.3 milestone Mar 7, 2023
@cderv cderv requested a review from dragonstyle March 7, 2023 17:11
Copy link
Collaborator

@dragonstyle dragonstyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love that you automated the patch process!

@dragonstyle dragonstyle merged commit 891e82b into main Mar 8, 2023
@dragonstyle dragonstyle deleted the revealjs/pdf-export-button branch March 8, 2023 13:08
cderv added a commit that referenced this pull request Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reveal.js PDF Export menu item is broken

2 participants

Comments