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

Propagate zoom factor in the top window into iframe through postMessage #24

Merged
merged 3 commits into from
Jul 16, 2020

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Jul 15, 2020

#21 did not work in the local HTML file exported by Marp CLI.

Thus, I take the second appraoch to propagate zoom factor into iframes. Send the zoom factor into each <iframe>s through postMessage if changed its value in the top window.

yhatt added 3 commits July 10, 2020 03:35
Send the zoom factor into each <iframe>s through `postMessage` if
changed its value in the top window.
@yhatt yhatt merged commit c0e690e into master Jul 16, 2020
@yhatt yhatt deleted the propagate-zoom-factor branch July 16, 2020 13:39
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.

1 participant