Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add showLightbox option #9416

Merged
merged 1 commit into from
Nov 11, 2023
Merged

feat: add showLightbox option #9416

merged 1 commit into from
Nov 11, 2023

Conversation

yufeih
Copy link
Contributor

@yufeih yufeih commented Nov 11, 2023

Adds a new showLightbox config in main.js that determines if an image should show as lightbox when clicked. Lightbox currently behaves as opening the image in a new tab, we might change it to an actual lightbox in the future.

Fixes #9415

@yufeih yufeih added the new-feature Makes the pull request to appear in "New Features" section of the next release note label Nov 11, 2023
Copy link

codecov bot commented Nov 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@yufeih yufeih changed the title feat: add showImageLightbox option feat: add isLightbox option Nov 11, 2023
@yufeih yufeih changed the title feat: add isLightbox option feat: add showLightbox option Nov 11, 2023
@yufeih yufeih merged commit 24ad7ae into main Nov 11, 2023
8 checks passed
@yufeih yufeih deleted the showImageLightbox branch November 11, 2023 13:58
yufeih added a commit that referenced this pull request Nov 13, 2023
Co-authored-by: Yufei Huang <yufeih@users.noreply.github.com>
p-kostov pushed a commit to ErpNetDocs/docfx that referenced this pull request Jun 28, 2024
Co-authored-by: Yufei Huang <yufeih@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature Makes the pull request to appear in "New Features" section of the next release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clickable images feature needs a global opt-out in docfx.json
1 participant