Skip to content

feat(revealjs): disable menu open button - #260

Merged
astefanutti merged 2 commits into
astefanutti:masterfrom
sagikazarmark:revealjs-menu
Feb 2, 2023
Merged

astefanutti merged 2 commits into
astefanutti:masterfrom
sagikazarmark:revealjs-menu

Conversation

@sagikazarmark

Copy link
Copy Markdown
Contributor

This is a workaround for denehyg/reveal.js-menu#99

When the RevealMenu plugin is enabled, there is a menu button on the printed slides.

This change disables that menu during printing.

This isn't necessarily the best possible solution, but since there is no "official" API for updating plugin configuration and the RevealMenu plugin does not expose any destroy or hide button API, this is the best alternative at the moment.

@astefanutti astefanutti left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM. Adding a comment would be great, and it'll be good to go 👍🏼.

Comment thread plugins/reveal.js Resolved
@astefanutti
astefanutti merged commit c92702b into astefanutti:master Feb 2, 2023
@astefanutti

Copy link
Copy Markdown
Owner

Thanks!

@sagikazarmark
sagikazarmark deleted the revealjs-menu branch February 2, 2023 13:28
@sagikazarmark

Copy link
Copy Markdown
Contributor Author

Thanks for quickly merging it!

@sagikazarmark

Copy link
Copy Markdown
Contributor Author

@astefanutti would you consider releasing a new version with this fix? Thanks!

@astefanutti

Copy link
Copy Markdown
Owner

@sagikazarmark thanks for the reminder. I've just released version 3.6.0 that contains this fix. Thanks again!

@sagikazarmark

Copy link
Copy Markdown
Contributor Author

Awesome, thanks!

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.

2 participants