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

Disable fake CM on firefox to fix highlighting in PDF export #2900

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

fonsp
Copy link
Owner

@fonsp fonsp commented Apr 19, 2024

#2885 caused an issue on Firefox where printing to PDF directly after opening the notebook does not highlight code:

This is because Firefox does not wait long enough for all DOM manipulation to be done, unlike Chrome and Safari.

This PR disables #2885 on Firefox, cant think of a better way

image

@fonsp fonsp added bug Something isn't working frontend Concerning the HTML editor performance publishing Notebooks as static documents on the web labels Apr 19, 2024
@fonsp fonsp merged commit b4066d3 into main Apr 19, 2024
4 checks passed
@fonsp fonsp deleted the fake-cm-firefox-disable branch April 19, 2024 22:01
Copy link
Contributor

Try this Pull Request!

Open Julia and type:

julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/fonsp/Pluto.jl", rev="fake-cm-firefox-disable")
julia> using Pluto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Concerning the HTML editor performance publishing Notebooks as static documents on the web
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant